Firefox 89 甚至看不到 userChrome.css 设置 toolkit.legacyUserProfileCustomizations.stylesheets=true

Kal*_*ich 7 html css firefox scrollbar userchrome.css

Firefox 刚刚更新,现在看不到 userChrome.css,toolkit.legacyUserProfileCustomizations.stylesheets 设置为 true。我试图通过隐藏滚动条

html {
    scrollbar-width: none !important;
}
Run Code Online (Sandbox Code Playgroud)

在 Firefox 更新之前一切正常。

我已将 chrome/userChrome.css 放入我拥有的每个配置文件文件夹中,并每次都重新启动 Firefox,但它仍然看不到 userChrome.css 中的任何内容

--

UDP:

Firefox 仍然看不到我的自定义 css,但如果你想隐藏滚动条,这个插件就可以了。

Lor*_*ori 5

尝试设置toolkit.legacyUserProfileCustomizations.stylesheetstrue. 根据如何创建 userChrome.css 文件(位于 userchrome.org),Firefox 过去常常在启动时查找chrome/userChrome.css,但从 Firefox 69 开始,这种默认行为已停止,以加快启动速度。

  • 感谢您的回答,但我已经提到过该属性设置为 true。 (4认同)
  • 今天这对我在 Firefox 91.0.2 上有用,谢谢你的提示! (3认同)

dax*_*xim 5

widget.non-native-theme.enabled = false