>
> Does it use the document.styleSheets.insertRule / deleteRule?
>
Yes, it does:

https://github.com/firebug/firebug/blob/1135b815f1d1f2c8f89d7739557058963f72eb8e/extension/content/firebug/css/cssModule.js#L84

So if you decide to extend Firebug, you should use that function.
Executing your code inside the Command 
Line<https://getfirebug.com/wiki/index.php/Command_Line>and then e.g. 
document.styleSheets[0].insertRule("body 
{ color: blue; }", 0); works fine for me.

Sebastian

-- 
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
https://groups.google.com/forum/#!forum/firebug

Reply via email to