Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Return to normal highlighting and text selection in new URL bar

  • 6 trả lời
  • 1 gặp vấn đề này
  • 598 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (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

Giải pháp được chọn

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.

Được chỉnh sửa bởi James vào

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.