Pour personnaliser un site dans Firefox :

  • about:support pour récupérer le path du répertoire de son profil
  • créer le fichier <path>/chrome/userContent.css
  • ré-activer sa prise en compte par Firefox. dans about:config, chercher toolkit.legacyUserProfileCustomizations.stylesheets est le passer à true

Renseigner sa css :

@document url("http://www.w3.org/"),
          url-prefix("http://www.w3.org/Style/"),
          domain("mozilla.org"),
          media-document("video"),
          regexp("https:.*") {
  /* CSS rules here apply to:
     - The page "http://www.w3.org/"
     - Any page whose URL begins with "http://www.w3.org/Style/"
     - Any page whose URL's host is "mozilla.org"
       or ends with ".mozilla.org"
     - Any standalone video
     - Any page whose URL starts with "https:" */

  /* Make the above-mentioned pages really ugly */
  body {
    color: purple;
    background: yellow;
  }
}

voir : https://developer.mozilla.org/en-US/docs/Web/CSS/@document