Crossposting on the NoScript forums:
http://forums.informaction.com/viewtopic.php?f=8&t=6710&p=28992&sid=8a900bf339ec800af41d828788f62a14#p28992

Last night in Firebug there showed up a piece of code in my script
panel. I downloaded the latest normal version of firefox (instead of
the beta), installed it (on my laptop, with a clean profile, instead
of creating a portable version from the official install with the
portable profile I normally use), and installed the latest version
from NoScript and Firebug (instead of the newest version from firebug,
not yet published on the add-ons website), to narrow it down to
NoScript...

After a urldecode from the code showing up, this is the code I got:

javascript:try{window.toStaticHTML = function toStaticHTML(s) {
var t = document.createElement("toStaticHTML");
t.setAttribute("data-source", s);
document.documentElement.appendChild(t);
var ev = document.createEvent("Events");
ev.initEvent("NoScript:toStaticHTML", true, false);
t.dispatchEvent(ev);
return t.innerHTML;
}}catch(e){}
try{window.watch('ab',function(o,a,b){return
a===false&&typeof(b)==='string'?false:b})}catch(e){}; void(0)

So I'm curious to why my firebug keeps showing this script, after a
first time reloading my page. And why can't I use my firebug console
any more (not even simply throwing a console.log message) once this
code is listed in my javascript panel?

Try it yourself:
install firefox
install firebug and noscript
enable firebug, enable noscript
go to a webpage
enable all the scripts on that page
open up the firebug console, run the code "console.log('hello
world');"
see the line "console.log('hello world')", followed by the line "hello
world" in the console
reload the page
run the code "console.log('hello world');"
see only the line "console.log('hello world')"

Any idea?

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