Hi,

I'm trying to figure out how to inject a variable into the context
window. Basically I want to make the page I'm viewing aware of an
extension preference. Really just set window._coldfireForceDebug =
true if my extension's forceDebug preference is enabled.

I've tried using the addScript function from lib.js, as well as
Firebug.CommanLine.evaluate() and Firebug.Debugger.evaluate() in my
module's initContext method, but I don't seem to be getting anywhere.
Does anyone have any pointers as to how this may be done? Or if it can
be done at all?

Thanks,

--Nathan


--~--~---------~--~----~------------~-------~--~----~
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