On Jul 27, 4:14 am, Jan Honza Odvarko <[email protected]> wrote:
> On Jul 25, 3:32 pm, Lucas Sallovitz <[email protected]> wrote:> Hi, I'm 
> having trouble debuging a js fil inserted on the page by an
> > extension, firebug doesn't show the code,
> > the console messages or the net
> > traffic generated by that file. I can't find an option or otrhe
> > documentation on the issue, is there a way to make firebug load files
> > inserted after the dom is complete?
>
> Firebug should display scripts inserted dynamically after load,
> e.g. by calling eval() or appending <script> element.
>
> How the script (in your case) is injected into the page?

Based on that, maybe I didn't make myself clear, the script is part of
the extension. It's not injected into the page itself.

This is the relevant xul file:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin/"  ?>
<?xml-stylesheet type="text/css" href="chrome://my-ext/skin/
overlay.css" ?>
<?xml-stylesheet href="chrome://my-ext/skin/style.css" type="text/css"?
>
<!DOCTYPE overlay SYSTEM "chrome://my-ext/locale/overlay.dtd">
<overlay id="unsub-overlay" xmlns="http://www.mozilla.org/keymaster/
gatekeeper/there.is.only.xul">
  <script src="my-script.js"/>
</overlay>

>
> Do you have an online page we could try on our machines?
>
> Honza
>
> > Thanks. Lucas.

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to