如何在 Firefox 5 中允许来自本地文件(file:/// 地址)的弹出窗口?
我在本地计算机上创建了一个 HTML 文件,并使用 file:///
地址打开该文件。它包含使用 window.open()
打开新浏览器窗口的 JavaScript。
当我在 Firefox 5 中查看此页面时,弹出窗口阻止程序会阻止新窗口。我无法改变这种行为;单击弹出窗口拦截器“首选项”会显示一个菜单项“允许弹出窗口”,但没有任何效果。
如何在 Firefox 5 中允许弹出 file:///
地址?
I've created an HTML file on my local machine that I open using a file:///
address. It includes JavaScript that opens new browser windows using window.open()
.
When I view this page in Firefox 5, the pop-up blocker blocks the new window. I can't override this behavior; clicking the pop-up blocker "Preferences" shows a menu item "Allow pop-ups for", which has no effect.
How do I allow pop-ups for file:///
addresses in Firefox 5?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加<文件>到下面的允许列表
首选项/选项 ->内容->阻止弹出窗口...例外。
编辑:这不再有效,请参阅评论
Add <file> to the allowed list under
Preferences/Options -> Content -> Block pop-up windows... Exceptions.
edit: This no longer works, see comments