为什么“阻止此页面创建其他对话框"?出现在警告框中? [英] Why "Prevent this page from creating additional dialogs" appears in the alert box?
本文介绍了为什么“阻止此页面创建其他对话框"?出现在警告框中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的 Rails 3 应用程序中:
In my Rails 3 application I do:
render :js => "alert("Error!\nEmpty message sent.");" if ...
有时,在此错误消息下方(在同一个警告框中),我会看到:防止此页面创建其他对话框"和一个复选框.
Sometimes, below this error message (in the same alert box) I see: "Prevent this page from creating additional dialogs" and a checkbox.
这是什么意思?
是否可以不显示此附加文本和复选框?
Is that possible not to display this additional text and checkbox ?
我使用 Firefox 4.
I use Firefox 4.
推荐答案
这是一个浏览器功能,可以阻止网站一遍又一遍地显示烦人的警告框.
It's a browser feature to stop websites that show annoying alert boxes over and over again.
作为网络开发者,您不能禁用它.
As a web developer, you can't disable it.
这篇关于为什么“阻止此页面创建其他对话框"?出现在警告框中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文