firefox-omni-tweaks icon indicating copy to clipboard operation
firefox-omni-tweaks copied to clipboard

Option to disable URL selection on tab switch

Open Celelibi opened this issue 3 years ago • 0 comments
trafficstars

Switching tab to one that had an active URL bar selects the URL. The option tabSwitchCopiesToClipboard copies the selected content to the clipboard. I'd rather like to not select the URL at all. I don't know when this behavior actually appeared, but it wasn't always the case. I can say for sure that firefox 59 didn't have it.

It would be nice if the cursor position could be restored, but IMO it's also ok if the cursor just get to the beginning or the end of the URL.

I don't really know what to modify to implement this. But the method setURI in modules/UrlbarInput.jsm seems like a good candidate to start exploring.

Celelibi avatar Aug 26 '22 22:08 Celelibi