Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox 93 - cyan border of urlbar when focused

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par Valso

more options

FF 93 arrived last night and now my setting (from userChrome.css) that removes the cyan color of the urlbar doesn't work anymore:

  1. urlbar[focused="false"]:not([suppress-focus-border]) > #urlbar-background {
 border: none !important;

}

I tried a few different things but they were for older versions of FF and naturally they didn't work. I even added a line "border-color: none !important;" but that didn't work either.

So, any suggestions for version 93 of how to remove the cyan border (again) when I click on the urlbar?

FF 93 arrived last night and now my setting (from userChrome.css) that removes the cyan color of the urlbar doesn't work anymore: #urlbar[focused="false"]:not([suppress-focus-border]) > #urlbar-background { border: none !important; } I tried a few different things but they were for older versions of FF and naturally they didn't work. I even added a line "border-color: none !important;" but that didn't work either. So, any suggestions for version 93 of how to remove the cyan border (again) when I click on the urlbar?
Captures d’écran jointes

Solution choisie

I'm not sure about the #urlbar[focused="false"] in your code as that would make the code work when the urlbar is not focused.

#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background, #searchbar:focus-within { outline:none !important; }

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

I'm not sure about the #urlbar[focused="false"] in your code as that would make the code work when the urlbar is not focused.

#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background, #searchbar:focus-within { outline:none !important; }

Modifié le par cor-el

more options

That was part of my attempts to make the code work because I noticed that upon startup of the browser the URL bar is focused and the cyan color is visible only when focused. So I thought that maybe if it starts with unfocused bar, that color won't be visible.

Anyway, thanks for the solution!