【问题标题】:Customise Firefox extension using chrome/userChrome.css使用 chrome/userChrome.css 自定义 Firefox 扩展
【发布时间】:2022-02-13 19:51:18
【问题描述】:

我安装了 foxclocks “{d37dc5d0-431d-44e5-8c91-49419370caa1}.xpi”

我已启用 chrome/userChrome.css 并隐藏了菜单项,所以我知道它正在工作。

我喜欢在 fox clocks 中隐藏“closer”,但如何在 chrome/userChrome.css 中引用它

我试过了

#closer { display: none !important } 

但没用?

见下图

【问题讨论】:

    标签: firefox firefox-addon userchrome.css


    【解决方案1】:

    对 userContent.css 执行相同操作并打开

    toolkit.legacyUserProfileCustomizations.stylesheets to true 
    

    在 about:config.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-09
      • 1970-01-01
      • 1970-01-01
      • 2016-01-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多