Firefox 6 javascript in addressbar - Stack Overflow

Whatever I type after "javascript:" in the address in firefox 6, firebug says "uncaught

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
Add a ment  | 

1 Answer 1

Reset to default 4

This behavior was filed as a in the Mozilla project and resolved per this bug report.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745389912a4625614.html

相关推荐

  • Firefox 6 javascript in addressbar - Stack Overflow

    Whatever I type after "javascript:" in the address in firefox 6, firebug says "uncaught

    10小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信