Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I got a problem with the message "prevent this page from creating additional dialogues", How can I disable this checkbox and message ?

  • 3 ردود
  • 311 have this problem
  • 2 views
  • آخر ردّ كتبه benef

more options

I got a problem with the message prevent this page from creating additional dialogues", How can I disable this checkbox and message ?

I got a problem with the message ''prevent this page from creating additional dialogues", How can I disable this checkbox and message ?

الحل المُختار

All Replies (3)

more options

الحل المُختار

more options

as dickvl said on this topic :

You can hide that checkbox with code in userChrome.css

@namespace url("http://www.mozilla.org/keymaster/gatekeepe/there.is.only.xul");
#content tabmodalprompt checkbox[label^="Prevent"] {display:none!important;}


Actually, this works only if the word "Prevent" is written in the message, but if your version doesn't contain this word, it doesn't work anymore. So you have to replace "Prevent" by another word or the whole sentence, for example in French :

#content tabmodalprompt checkbox[label^="Empêcher"] {display:none!important;}

or

#content tabmodalprompt checkbox[label="Empêcher cette page d'ouvrir des dialogues supplémentaires"] {display:none!important;}


You can also add two translation :

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
#content tabmodalprompt checkbox[label="Empêcher cette page d'ouvrir des dialogues supplémentaires"] {display:none!important;}
#content tabmodalprompt checkbox[label="Prevent this page from creating additional dialogs"] {display:none!important;}

Modified by cor-el

more options

Modified by benef