如何禁用“阻止此页面创建其他对话框”? [英] How to disable "prevent this page from creating additional dialogs"?
问题描述
我正在开发一个利用JavaScript alert()
和 confirm()
对话框的web应用程序。 / p>
如何阻止Chrome显示此复选框?
有没有可以修改的设置?
我知道我可以修改源代码,但我希望Chrome可以自动更新。
我不必担心其他浏览器,因为该应用程序只在Chrome中运行。
我有管理员访问运行应用程序的(Windows)机器。 (函数()){
alert(message); $($)$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
},1000);
}
I'm developing a web app that utilises JavaScript alert()
and confirm()
dialogue boxes.
How can I stop Chrome from showing this checkbox?
Is there a setting I can modify?
I know I could modify the source code, but I'd like it so that Chrome could still auto-update.
I don't need to worry about other browsers since the app only runs in Chrome.
I have admin access to the (Windows) machines that run the app.
function alertWithoutNotice(message){
setTimeout(function(){
alert(message);
}, 1000);
}
这篇关于如何禁用“阻止此页面创建其他对话框”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!