> Have a look at JS Console project <http://jsconsole.mozdev.org>.
> 
> It relies on a standalone library, Mozlib where you can see how to get 
> access to nsIScriptLoader interface: after installing JS Console, look 
> at the file
> 
> chrome://mozlib/content/lib/js/xpcom/scriptloader.js

It looks to me like their code is accessing mozIJSSubScriptLoader...
which isn't the same thing.

That interface is for manually loading/controlling scripts yourself. I
want to plug into the browser and watch for dom script-loads with an
observer. nsIScriptLoader would allow that.

Any other ideas?
 -bm

Reply via email to