Firefox 89 doesn't see userChrome.css even set toolkit.legacyUserProfileCustomizations.stylesheets=true

5.5k Views Asked by At

Firefox has just updated and now it doesn't see userChrome.css, toolkit.legacyUserProfileCustomizations.stylesheets is set to true. I'm trying to hide the scrollbar by

html {
    scrollbar-width: none !important;
}

and everything worked fine before firefox updated.

I've put the chrome/userChrome.css to every profile folder I have and restarted firefox every time, but it still doesn't see anything from userChrome.css

--

UDP:

Firefox still doesn't see my custom css, but if you want to hide the scrollbars, this addon works.

3

There are 3 best solutions below

0
daxim On BEST ANSWER

widget.non-native-theme.enabled = false

2
Lori On

Try setting toolkit.legacyUserProfileCustomizations.stylesheets to true. According to How to Create a userChrome.css File (on userchrome.org), Firefox used to look for chrome/userChrome.css at startup, but this was discontinued as default behavior starting with Firefox 69, to speed up startup.

3
Tom On

Instead of a userChrome file, a userContent.css file is what you would use to style pages that are actually displayed on Firefox