X
Tap here to go to the mobile version of the site.

Support Forum

hello, is there a way to make Firefox copy non-latin urls from the address bar verbatim instead of percent-encoded?

Posted

when I copy a url from the address bar to the clipborad and paste it elsewhere, it comes out mangled. this is especially annoying when trying to send someone a link to a non-English wikipedia article (or other sites with "descriptive" urls.) is there a way to turn this off?

when I copy a url from the address bar to the clipborad and paste it elsewhere, it comes out mangled. this is especially annoying when trying to send someone a link to a non-English wikipedia article (or other sites with "descriptive" urls.) is there a way to turn this off?

Chosen solution

To prevent that you can place a character like a '-' at the very left of the location bar and select the URL without that leading hyphen.

-https://support.mozilla.com/en-US/questions/760105
Read this answer in context 2

Additional System Details

Installed Plug-ins

  • DjVu Plug-In(external version 6.1.4.2013)
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Adobe PDF Plug-In For Firefox and Netscape 8.2.5
  • Default Plug-in
  • Shockwave Flash 10.1 r85
  • Next Generation Java Plug-in 1.6.0_22 for Mozilla browsers
  • Adobe Acrobat Plug-In Version 5.00 for Netscape

Application

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17522 solutions 158439 answers

Chosen Solution

To prevent that you can place a character like a '-' at the very left of the location bar and select the URL without that leading hyphen.

-https://support.mozilla.com/en-US/questions/760105
To prevent that you can place a character like a '-' at the very left of the location bar and select the URL without that leading hyphen. -https://support.mozilla.com/en-US/questions/760105

Question owner

thanks, that does it! btw, I've noticed that typing a space after the url works, too.

thanks, that does it! btw, I've noticed that typing a space after the url works, too.
cor-el
  • Top 10 Contributor
  • Moderator
17522 solutions 158439 answers

Helpful Reply

You're welcome.

You're welcome.
LizAnto 0 solutions 1 answers

this was really helpful.. thank you

this was really helpful.. thank you
VFoX 0 solutions 1 answers

thank you. but why they did it like this ? there is even no about:config option! that sucks, looks ugly and deceives user (shows one thing but puts another in copy/paste buffer)... secret cheatcode instead, huh. reminds me shitty SGH-C110 phone with pile of "secret" codes you enter that can bypass all "protection" to erase all data on it, reset PINs, enable hidden features, etc.

is there bugzilla entry for that ?

thank you. but why they did it like this ? there is even no about:config option! that sucks, looks ugly and deceives user (shows one thing but puts another in copy/paste buffer)... secret cheatcode instead, huh. reminds me shitty SGH-C110 phone with pile of "secret" codes you enter that can bypass all "protection" to erase all data on it, reset PINs, enable hidden features, etc. is there bugzilla entry for that ?

Question owner

hello, v-fox, I think it actually does make sense. I think that Firefox stores the address this way (percent-encoded and all.) Only when you edit the text in the address bar, does it become plain text. But, as Firefox doesn't yet know if it's an url, it doesn't know better than to copy it as-is. When you press Enter to go to that page, the text in the address bar undergoes some internal processing and becomes an address again, at which point the URL-quoting rules start to apply to it. This is how I guess how it works "under the hood." This is not to say that this behavior is indeed a bit counter-intuitive. My point is that they didn't make it like this on purpose, it just follows from how Firefox processes text in the address bar.

hello, v-fox, I think it actually does make sense. I think that Firefox stores the address this way (percent-encoded and all.) Only when you edit the text in the address bar, does it become plain text. But, as Firefox doesn't yet know if it's an url, it doesn't know better than to copy it as-is. When you press Enter to go to that page, the text in the address bar undergoes some internal processing and becomes an address again, at which point the URL-quoting rules start to apply to it. This is how I guess how it works "under the hood." This is not to say that this behavior is indeed a bit counter-intuitive. My point is that they didn't make it like this on purpose, it just follows from how Firefox processes text in the address bar.