Firefox 6在地址栏中的JavaScript [英] Firefox 6 javascript in addressbar
本文介绍了Firefox 6在地址栏中的JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我在萤火虫命令行输入相同的程式码,这个行为是在Mozilla项目中提交的,并通过这个错误报告。
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 command line, it works. What gives?
解决方案
This behavior was filed as a in the Mozilla project and resolved per this bug report.
这篇关于Firefox 6在地址栏中的JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文