搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox 93 - cyan border of urlbar when focused

  • 2 回覆
  • 1 有這個問題
  • 31 次檢視
  • 最近回覆由 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!