![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
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 ?
Изабрано решење
there is also a thread on this topic:
http://forums.mozillazine.org/viewtopic.php?f=25&t=2172671&p=10711229#p10711229
Прочитајте овај одговор са објашњењем 👍 2Сви одговори (3)
Одабрано решење
there is also a thread on this topic:
http://forums.mozillazine.org/viewtopic.php?f=25&t=2172671&p=10711229#p10711229
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;}
Измењено
this works better :
http://forums.mozillazine.org/viewtopic.php?p=10737317#p10737317
Измењено