搜尋 Mozilla 技術支援網站

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

了解更多

Allow different behaviour for click on urlbar vs focus window (browser.urlbar.clickSelectsAll)

  • 2 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 Vlyn

more options

I just switched from Chrome to Firefox Quantum and got annoyed with the behavior of the urlbar: When I start typing, switch to another window (alt tab), then try to continue to type the whole bar gets selected (Making me accidentally overwrite the first part of the url).

I fixed this behavior with browser.urlbar.clickSelectsAll set to false. This works for switching windows now, but when I actually click on the urlbar (Usually to copy the url) it obviously doesn't select all of it now.

Is there a way to combine these two behaviors? No select all on window focus, but select all on click?

Besides that Firefox 57 finally feels worth using again :)

I just switched from Chrome to Firefox Quantum and got annoyed with the behavior of the urlbar: When I start typing, switch to another window (alt tab), then try to continue to type the whole bar gets selected (Making me accidentally overwrite the first part of the url). I fixed this behavior with browser.urlbar.clickSelectsAll set to false. This works for switching windows now, but when I actually click on the urlbar (Usually to copy the url) it obviously doesn't select all of it now. Is there a way to combine these two behaviors? No select all on window focus, but select all on click? Besides that Firefox 57 finally feels worth using again :)

所有回覆 (2)

more options

Not know much here. Is it a Bug or a feature ? If a Bug : If you have a bug, file a bug report. Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines

Would not clicking on the 3 Dots in the Address Bar be of use to Copy URL ?

Might like old look sorta since know where things are : Here's a more comprehensive project which affects not only tabs but brings back the old "grid-style" options menu. https://github.com/axydavid/FirefoxUI/blob/master/README.md

It isn't completely possible to use the Australis design with Firefox 57, but depending on what you want, you might be able to customize the UI to look more like the old one: This project: https://github.com/wilfredwee/photon-australis lets you have the old tab bar appearance back in Firefox 57. You can remove the space around the address bar by right-clicking on the spaces, and choosing "remove from toolbar".

Note the Black Theme is just a Example and can be found in Customize.

Please let us know if this solved your issue or if need further assistance.

more options

This isn't about the looks of the browser but about how to use it. I also don't think it's a bug.

In Chrome it's like this: (1) Start writing an address in the urlbar. Switch to another window (alt+tab), switch back to Chrome, continue typing where you left off (2) Click on the url in the urlbar and the whole address gets selected (with one click)

In Firefox it's like this: (1) Start writing an address in the urlbar. Switch to another window and back. The full address is selected, if you keep typing you overwrite what you wrote before. (2) Click on the urlbar selects the whole address, same as in Chrome.

In Firefox when I try to fix the first issue (browser.urlbar.clickSelectsAll = false) I get: (1) Same behavior as in Chrome (2) Click on urlbar doesn't select the full url.

So maybe it's actually a feature request, don't put what happens in the "focus window" action into browser.urlbar.clickSelectsAll (As no actual click happened, I just switched back to Firefox from another window).