搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 3 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 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.