搜尋 Mozilla 技術支援網站

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

Learn More

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

  • 6 回覆
  • 10 有這個問題
  • 103 次檢視
  • 最近回覆由 adav84

more options

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?

被選擇的解決方法

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
從原來的回覆中察看解決方案 👍 2

所有回覆 (6)

more options

選擇的解決方法

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
more options

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

more options

You're welcome.

more options

this was really helpful.. thank you

more options

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 ?

more options

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.