X
Tik hier voor de mobiele versie van de website.

Ondersteuningsforum

CSS code to remove this block of text from the "extensions" menu?

Geplaatst

Hello,

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

https://i.postimg.cc/85svkSXk/extensions-menu.jpg


Cheers.

Hello, What is the CSS code to remove the following block of text from the extensions menu? https://i.postimg.cc/85svkSXk/extensions-menu.jpg Cheers.
Gekoppelde schermafbeeldingen

Gekozen oplossing

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Dit antwoord in context lezen 0
Citeren

Aanvullende systeemdetails

Toepassing

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

Meer informatie

cor-el
  • Top 10 Contributor
  • Moderator
17341 oplossingen 156765 antwoorden

The about:addons page is an HTML page and this code needs to be in userContent.css to hide the notice.

You can add this code to the userContent.css file.


@-moz-document url-prefix(about:addons){
 #private-browsing-notice { display:none !important }
}
The about:addons page is an HTML page and this code needs to be in userContent.css to hide the notice. You can add this code to the <b>userContent.css</b> file. *http://kb.mozillazine.org/userContent.css <hr> <pre><nowiki>@-moz-document url-prefix(about:addons){ #private-browsing-notice { display:none !important } }</nowiki></pre>

Bewerkt door cor-el op

Was dit nuttig voor u?
Citeren

Vraageigenaar

The message is still present on this one as well after applying that code as well.

The message is still present on this one as well after applying that code as well.
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17341 oplossingen 156765 antwoorden

Gekozen oplossing

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Bewerkt door cor-el op

Was dit nuttig voor u?
Citeren

Vraageigenaar

cor-el said

You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line.

Removing the top part took care of it.

Thanks again sir.

''cor-el [[#answer-1238729|said]]'' <blockquote> You did place the code in userContent.css and not in userChrome.css ? I think that Firefox 67 still needs userContent.css, but you can try to add the code in userChrome.css as well. Try to code in userChrome.css without or above the default @namespace line. </blockquote> Removing the top part took care of it. Thanks again sir.
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17341 oplossingen 156765 antwoorden

If there is any data appended on the location bar after about:addons then you have to use url-prefix() instead of url() if that line is what you are referring to. This is probably better anyway. This line specifies where this code should be applied.

If there is any data appended on the location bar after about:addons then you have to use url-prefix() instead of url() if that line is what you are referring to. This is probably better anyway. This line specifies where this code should be applied. *https://developer.mozilla.org/en-US/docs/Web/CSS/@document
Was dit nuttig voor u?
Citeren
Een vraag stellen

U moet zich aanmelden bij uw account om op berichten te antwoorden. Stel een nieuwe vraag als u nog geen account hebt.