Whatever I type after "javascript:" in the address in firefox 6, firebug says "uncaught exception: ReferenceError: document is not defined". If I try window, it says "uncaught exception: ReferenceError: window is not defined."
If I type the same code in the firebug mand line, it works. What gives?
Whatever I type after "javascript:" in the address in firefox 6, firebug says "uncaught exception: ReferenceError: document is not defined". If I try window, it says "uncaught exception: ReferenceError: window is not defined."
If I type the same code in the firebug mand line, it works. What gives?
Share Improve this question asked Sep 10, 2011 at 23:13 mowwwalkermowwwalker 17.4k30 gold badges108 silver badges165 bronze badges 4- My coworker had the same issue. Apparently it was a security hole or something. What are you trying to do? – beatgammit Commented Sep 10, 2011 at 23:14
- Append a fun little JS app to a website. – mowwwalker Commented Sep 10, 2011 at 23:15
- If it's just you, why not just use firebug? FWIW, I think it still works in Google Chrome. – beatgammit Commented Sep 10, 2011 at 23:16
- 2 use a bookmarklet instead of js in the address bar – Christian Smorra Commented Sep 10, 2011 at 23:38
1 Answer
Reset to default 4This behavior was filed as a in the Mozilla project and resolved per this bug report.