admin管理员组文章数量:1425200
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.
本文标签: Firefox 6 javascript in addressbarStack Overflow
版权声明:本文标题:Firefox 6 javascript in addressbar - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745389911a2656550.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论