X
點擊此處開啟此網站的行動版。

技術支援討論區

prevent this page from creating additional dialog..How to disable this dialog box

RGB
已張貼

i know to solve this problem by going about:config and to correct it,but i want to know whether is there any other way to block this dialog box. How all the user of my application will follow that ?

i know to solve this problem by going about:config and to correct it,but i want to know whether is there any other way to block this dialog box. How all the user of my application will follow that ?

被選擇的解決方法

No, you can't change that behavior via JavaScript.
You can only instruct users not to tick that box or make sure that you exceed that default timeout of 3 seconds.

從原來的回覆中察看解決方案 1

額外的系統細節

已安裝的外掛程式

  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 1.6.0_29 for Mozilla browsers
  • 4.0.60831.0
  • Adobe PDF Plug-In For Firefox and Netscape "9.4.5"
  • wpidetector
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • DRM Store Netscape Plugin
  • Npdsplay dll

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1

更多資訊

cor-el
  • Top 10 Contributor
  • Moderator
17566 個解決方法 158879 個答案

Create a new Integer pref with the name dom.successive_dialog_time_limit and set the value to 0.

Create a new Integer pref with the name dom.successive_dialog_time_limit and set the value to 0. *http://kb.mozillazine.org/about:config *http://forums.mozillazine.org/viewtopic.php?f=25&t=2172671&p=10737317#p10737317

提出問題者

Thank you for your reply friend..the solution u posted is 100% correct.but how to do this via script..since when my application runs on the browser all the users cant follow these steps.


Is there any way to do this via java script?????

if any one have the solution please post it.

Thanks

Thank you for your reply friend..the solution u posted is 100% correct.but how to do this via script..since when my application runs on the browser all the users cant follow these steps. Is there any way to do this via java script????? if any one have the solution please post it. Thanks
cor-el
  • Top 10 Contributor
  • Moderator
17566 個解決方法 158879 個答案

選擇的解決方法

No, you can't change that behavior via JavaScript.
You can only instruct users not to tick that box or make sure that you exceed that default timeout of 3 seconds.

No, you can't change that behavior via JavaScript.<br /> You can only instruct users not to tick that box or make sure that you exceed that default timeout of 3 seconds. *http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.h#112

提出問題者

i was trying that for the last two days..

Thank you

i was trying that for the last two days.. Thank you
cor-el
  • Top 10 Contributor
  • Moderator
17566 個解決方法 158879 個答案

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum. *http://forums.mozillazine.org/viewforum.php?f=25 The helpers at that forum are more knowledgeable about web development issues.<br> You need to register at the MozillaZine forum site in order to post at that forum.