Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

CSS code to remove the following block of text from the "plugins" menu?

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Avengement

more options

Hello,

What is the CSS code to remove the following block of text from the "plugins" menu?

https://i.postimg.cc/vBjVcNCr/plugins-menu.jpg


Cheers.

Hello, What is the CSS code to remove the following block of text from the "plugins" menu? https://i.postimg.cc/vBjVcNCr/plugins-menu.jpg Cheers.
已附加屏幕截图

被采纳的解决方案

cor-el said

Add code to the userContent.css file.
@-moz-document url(about:addons){
 #private-browsing-notice,
 #plugindeprecation-notice { display:none!important; }
}

Note that these two notices are gone in Firefox 68 and Firefox 68 will likely need other code as well for modifying other elements.

No dice.

The message is still present.

定位到答案原位置 👍 0

所有回复 (3)

more options

Add code to the userContent.css file.


@-moz-document url(about:addons){
 #private-browsing-notice,
 #plugindeprecation-notice { display:none!important; }
}

Note that these two notices are gone in Firefox 68 and Firefox 68 will likely need other code as well for modifying other elements.

more options

选择的解决方案

cor-el said

Add code to the userContent.css file.
@-moz-document url(about:addons){
 #private-browsing-notice,
 #plugindeprecation-notice { display:none!important; }
}

Note that these two notices are gone in Firefox 68 and Firefox 68 will likely need other code as well for modifying other elements.

No dice.

The message is still present.

more options

Removing the top piece took care of it.

Thank you.