搜尋 Mozilla 技術支援網站

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

了解更多

Return to normal highlighting and text selection in new URL bar

  • 6 回覆
  • 1 有這個問題
  • 35 次檢視
  • 最近回覆由 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.