Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Firefox 93 - cyan border of urlbar when focused

  • 2 Antworten
  • 1 hat dieses Problem
  • 1 Aufruf
  • Letzte Antwort von 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?
Angefügte Screenshots

Ausgewählte Lösung

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

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (2)

more options

Ausgewählte Lösung

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

Geändert am von 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!