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.
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
inmodules/UrlbarInput.jsm
seems like a good candidate to start exploring.