关闭 - “阻止此页面创建其他对话框” [英] Turn Off - “prevent this page from creating additional dialogs”

查看:810
本文介绍了关闭 - “阻止此页面创建其他对话框”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何关闭Firefox功能防止创建其他对话框?

我得到这个问题,当我打开多个确认框(对话框)。



有没有可能通过Javascript阻止这个功能?

解决方案

这是一个浏览器功能,旨在保护用户。如果你可以关闭它,那么所有那些用对话框发送垃圾邮件的网站都可以阻止它。所以总之,没有。



让你的应用程序可以使用它,而不是使用它。不要过多依赖对话/确认,而要有模式框提问;它是相当的:)


How do I turn off the Firefox feature "prevent this page from creating additional dialogs"?

I get this problem, when I open more than one confirm box(dialog).

Is it possible to prevent this feature via Javascript?

解决方案

This is a browser feature and is intended to protect the user. If you could turn it off, all those sites spamming users with dialogs would have a way to stop it.

So in short, no.

Make your application work with it, instead of against it. Don't rely on dialogs/confirmations too much, rather have a modal-box ask the questions; it is pretty too :)

这篇关于关闭 - “阻止此页面创建其他对话框”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆