出现错误:NS_ERROR_NOT_AVAILABLE(带有“警报时阻止") [英] Getting Error : NS_ERROR_NOT_AVAILABLE with the Prevent on Alert
本文介绍了出现错误:NS_ERROR_NOT_AVAILABLE(带有“警报时阻止")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我们收到更多警报消息时,它具有一个复选框,该复选框显示防止此页面创建其他对话框".
如果我们选中该复选框,则我的功能无法正常工作并出现错误"NS_ERROR_NOT_AVAILABLE:".
我不希望带有警报消息框的
Hi,
While we are getting alert message more then one it has a checkbox getting "Prevent this page from creating additional dialogs".
If we check that checkbox then my functionality not working and getting error "NS_ERROR_NOT_AVAILABLE: ".
I do''t want
"Prevent this page from creating additional dialogs".
复选框.
推荐答案
您不能禁用此功能.
这是一种浏览器功能,旨在保护用户,如果您可以将其关闭,则所有通过对话框向用户发送垃圾邮件的网站都可以将其阻止.
简而言之,不是.
使您的应用程序使用它而不是反对它,不要过多地依赖对话框/确认.宁可让模态框问问题,也很容易
参考: http://stackoverflow.com/questions/11823613/从创建附加对话框中关闭该预防页面 [ http://uweschmelzer .wordpress.com/2012/04/18/how-to-turn-off-the-prevent-page-from-creating-additional-dialogs/ [
You can''t disable this feature.
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 to much. rather have a modal-box ask questions, it is pretty too
Ref:http://stackoverflow.com/questions/11823613/turn-off-prevent-this-page-from-creating-additional-dialogs[^]
Also check this
http://uweschmelzer.wordpress.com/2012/04/18/how-to-turn-off-the-prevent-page-from-creating-additional-dialogs/[^]
这篇关于出现错误:NS_ERROR_NOT_AVAILABLE(带有“警报时阻止")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文