Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Firefox 93 - cyan border of urlbar when focused

  • 2 отговора
  • 1 има този проблем
  • 87 изгледи
  • Последен отговор от 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?
Прикачени екранни снимки

Избрано решение

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

Прочетете този отговор в контекста 👍 0

Всички отговори (2)

more options

Избрано решение

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

Променено на от 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!