为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 93 - cyan border of urlbar when focused

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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!