prevent firefox from showing the address bar in fullscreen mode
Hello,
After recent Firefox update ( ver. 85.0 - 01.2021 / 64-bit, Windows )
code:
- fullscr-toggler {display:none!important;}
in file: "userChrome.css"
that was effectively preventing firefox from showing the address bar in fullscreen mode seems stopped working.
Does anyone know workaround solution?
Thanks!
Ausgewählte Lösung
#fullscr-toggler has been moved to HTML namespace, so you need to update the code in userChrome.css
Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ *|div#fullscr-toggler {display:none!important;}
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
See:
Diese Antwort im Kontext lesen 👍 1Alle Antworten (2)
Ausgewählte Lösung
#fullscr-toggler has been moved to HTML namespace, so you need to update the code in userChrome.css
Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ *|div#fullscr-toggler {display:none!important;}
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
See:
Yep, that worked. Thank you! :)