搜索 | 用户支持

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

Learn More

Return to normal highlighting and text selection in new URL bar

  • 6 个回答
  • 1 人有此问题
  • 415 次查看
  • 最后回复者为 AliceWyman

more options

A lot of folks are having issues with the new URL bar.

My biggest issue with the new URL is the way that URL bar text turns light blue rather than to normal way that selected text is shown, in negative (white on blue), because I often want to select part of the URL and the light blue makes it difficult to see what I have selected. I am 55 and my eyesight is not what it used to be.

jscher2000 kindly recommended adding the following to userchrome.css here https://support.mozilla.org/en-US/questions/1283831?page=3#answer-1331668 as follows

  1. urlbar {
 --lwt-toolbar-field-highlight: Highlight;
 --lwt-toolbar-field-highlight-text: HighlightText;

}

But this css does not seem to work for me.

I have not touched the Firefox theme, so I guess I am using the default theme, but I have added the multi-row tabs css from MrOtherGuy https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/multi-row_tabs.css but the multi-row tab css does not seem to mention "toolbar" so I can't see that they would get in each other's way.

I would also like to turn off the automatic selection of the whole url but that may not be possible.

A lot of folks are having issues with the new URL bar. My biggest issue with the new URL is the way that URL bar text turns light blue rather than to normal way that selected text is shown, in negative (white on blue), because I often want to select part of the URL and the light blue makes it difficult to see what I have selected. I am 55 and my eyesight is not what it used to be. jscher2000 kindly recommended adding the following to userchrome.css here https://support.mozilla.org/en-US/questions/1283831?page=3#answer-1331668 as follows #urlbar { --lwt-toolbar-field-highlight: Highlight; --lwt-toolbar-field-highlight-text: HighlightText; } But this css does not seem to work for me. I have not touched the Firefox theme, so I guess I am using the default theme, but I have added the multi-row tabs css from MrOtherGuy https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/multi-row_tabs.css but the multi-row tab css does not seem to mention "toolbar" so I can't see that they would get in each other's way. I would also like to turn off the automatic selection of the whole url but that may not be possible.

被采纳的解决方案

jscher2000 said on another thread https://support.mozilla.org/en-US/questions/1290297#answer-1331823

Maybe the problem is that those color keywords are assigned differently on your Firefox, so telling Firefox to use the highlight colors doesn't change anything. You could try directly overriding the colors on the selection intead of changing those variables:

   #urlbar-input::selection {
     color: white !important; /* text */
     background-color: rgb(0, 120, 215) !important; /* background (faded blue) */
   }

And that solved my issue.

定位到答案原位置 👍 1

所有回复 (6)

more options

Timtak said

My biggest issue with the new URL is the way that URL bar text turns light blue rather than to normal way that selected text is shown, in negative (white on blue), because I often want to select part of the URL and the light blue makes it difficult to see what I have selected. I am 55 and my eyesight is not what it used to be. jscher2000 kindly recommended adding the following to userchrome.css <snip>

I see you also asked about the css coding in another persons question, which jscher2000 answered: https://support.mozilla.org/en-US/questions/1290297 CHANGE BACK THE URL BAR

You wrote in the other thread that the issue you reported there is solved.

Timtak said

I would also like to turn off the automatic selection of the whole url but that may not be possible.

I'm not sure what you meant but, in case it helps, see these articles:

If you still need help with the new Firefox address (URL) bar, please explain the problem in more detail.

more options

P.S. In the future, please don't post support requests in threads started by others, even though your issue my be similar. See Mozilla Support rules and guidelines.

more options

选择的解决方案

jscher2000 said on another thread https://support.mozilla.org/en-US/questions/1290297#answer-1331823

Maybe the problem is that those color keywords are assigned differently on your Firefox, so telling Firefox to use the highlight colors doesn't change anything. You could try directly overriding the colors on the selection intead of changing those variables:

   #urlbar-input::selection {
     color: white !important; /* text */
     background-color: rgb(0, 120, 215) !important; /* background (faded blue) */
   }

And that solved my issue.

由James于修改

more options

The two clickSelectsAll prefs that control how a single click and a double click in the location bar work are no longer supported in Firefox 75 and newer.

This click behavior in the location bar is now the same on all platforms (Windows, Mac, Linux) and a single click selects all without primary selection, a double click selects a word, and a triple click selects all with primary selection when applicable (Linux).

more options

AliceWyman wrote > I'm not sure what you meant but, in case it helps, see these articles: Corel understood my poorly worded explanation of my problem. Thank you Cor-el for letting me know that the single click selects all click behaviour can not be solved. I will not seek a solution.

jscher2000 solved my main problem and if jscher2000 posts here I will mark his post as the solution.

more options

Timtak said

jscher2000 solved my main problem and if jscher2000 posts here I will mark his post as the solution.

Thanks for the follow-up. I marked your post quoting what jscher2000 wrote in the other thread as the solution.