Temporarily shutting off Firebug XHR monitoring programmatically

33 views
Skip to first unread message

Maciek

unread,
Nov 19, 2009, 9:55:36 AM11/19/09
to Firebug
Hi,

I want to do the following:

1) Run some code.
2) Turn off Firebug XHR monitoring temporarily.
3) Start an XHR request.
4) After the XHR request comes back, turn Firebug XHR monitoring back
on.

Is this possible?

Thanks

Honza (Jan Odvarko)

unread,
Nov 19, 2009, 10:03:48 AM11/19/09
to Firebug
You can't do that from a web page (not without special privileges).

But if you are an extension you can just set a preference
extensions.firebug.showXMLHttpRequests

Honza

Maciek

unread,
Nov 19, 2009, 10:14:41 AM11/19/09
to Firebug
Thanks for your quick reply, Jan!

Let's say I'm in a debugging phase and that for the moment I'm okay
with hassling the user (just my development team) with the dialogs
that escalate privileges in Firefox. Are there calls I can make to do
so, or is completely blocked from the regular web scope?

Thanks

Honza (Jan Odvarko)

unread,
Nov 19, 2009, 10:25:37 AM11/19/09
to Firebug
I believe it should be possible to do it from a reqular web page. See
more here:
http://www.mozilla.org/projects/security/components/signed-scripts.html
Honza
Reply all
Reply to author
Forward
0 new messages