X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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.
Attached screenshots

Chosen solution

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.

Read this answer in context 0
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17346 solutions 156791 answers

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.

Add code to the <b>userContent.css</b> file. *http://kb.mozillazine.org/userContent.css <hr> <pre><nowiki>@-moz-document url(about:addons){ #private-browsing-notice, #plugindeprecation-notice { display:none!important; } }</nowiki></pre> Note that these two notices are gone in Firefox 68 and Firefox 68 will likely need other code as well for modifying other elements.
Was this helpful to you?
Quote

Chosen Solution

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.

''cor-el [[#answer-1238690|said]]'' <blockquote> Add code to the <b>userContent.css</b> file. *http://kb.mozillazine.org/userContent.css <hr> <pre><nowiki>@-moz-document url(about:addons){ #private-browsing-notice, #plugindeprecation-notice { display:none!important; } }</nowiki></pre> Note that these two notices are gone in Firefox 68 and Firefox 68 will likely need other code as well for modifying other elements. </blockquote> No dice. The message is still present.
Was this helpful to you?
Quote

Question owner

Removing the top piece took care of it.

Thank you.

Removing the top piece took care of it. Thank you.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.