问题描述
Firefox 刚刚更新,现在看不到 userChrome.css,toolkit.legacyUserProfileCustomizations.stylesheets 设置为 true。我试图通过
隐藏滚动条html {
scrollbar-width: none !important;
}
在 Firefox 更新之前一切正常。
我已将 chrome/userChrome.css 放入我拥有的每个配置文件文件夹并每次都重新启动 firefox,但它仍然没有从 userChrome.css 中看到任何内容
--
UDP:
Firefox 仍然看不到我的自定义 css,但如果您想隐藏滚动条,this addon 可以工作。
解决方法
widget.non-native-theme.enabled = false
,尝试将 toolkit.legacyUserProfileCustomizations.stylesheets
设置为 true
。根据 How to Create a userChrome.css File(在 userchrome.org 上),Firefox 过去会在启动时查找 chrome/userChrome.css
,但从 Firefox 69 开始,这已作为默认行为停止,以加快启动速度.