Avatar for Username

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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

  • 5 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 17 προβολές
  • Τελευταία απάντηση από cor-el

more options

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.
Συνημμένα στιγμιότυπα

Επιλεγμένη λύση

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.

Ανάγνωση απάντησης σε πλαίσιο 👍 0

Όλες οι απαντήσεις (5)

more options

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 }
}

Τροποποιήθηκε στις από το χρήστη cor-el

more options

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

more options

Επιλεγμένη λύση

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.

Τροποποιήθηκε στις από το χρήστη cor-el

more options

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.

more options

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.