html - Firefox 89 看不到 userChrome.css 甚至设置了 toolkit.legacyUserProfileCustomizations.stylesheets=true
问题描述
Firefox 刚刚更新,现在看不到 userChrome.css,toolkit.legacyUserProfileCustomizations.stylesheets 设置为 true。我试图通过隐藏滚动条
html {
scrollbar-width: none !important;
}
并且在 Firefox 更新之前一切正常。
我已经将 chrome/userChrome.css 放到了我拥有的每个配置文件文件夹中,并且每次都重新启动了 firefox,但它仍然没有从 userChrome.css 中看到任何内容
--
UDP:
Firefox 仍然看不到我的自定义 css,但如果你想隐藏滚动条,这个插件可以工作。
解决方案
widget.non-native-theme.enabled = false
推荐阅读
- ruby-on-rails - 关于 has_many 关联的 Searchkick 查询
- excel - 在 IF 语句中使用 Year(Date) 但没有输出
- c - 图像处理膨胀的C实现在结果图像上创建重复图案
- code-coverage - 如何在 Windows 机器上安装 lcov 工具
- python - 我可以在 kivy 和 python3 中使用 html&css 吗?
- elasticsearch - Elasticsearch:插入后数字被更改
- powershell - 使用 java processbuilder 打开 powershell 并保持打开状态
- dart - 根据条件添加小部件
- javascript - 使用排序时处理 strictNullChecks
- java - 运行正则表达式程序时遇到问题