Эта тема была архивирована. Если вам нужна помощь, задайте новый вопрос.
I'm finding a way to use config to re-configure firefox so that it shows %-encoding (escaped) URLs instead of unicode characters
When I load a URL into the address bar, anything escaped is converted to unicode.
I found the "feature" auto-decoding of URLs very annoying. IMPORTANT: If I edit the URL, which firefox converts to unicode, THE LINK GETS BROKEN!!!
You can't even type out some of those characters onto the keyboard. Also, Note "THE LINK GETS BROKEN." This explains that there are many people out there who DON'T like the decoding of escaped URLs in the address bar. Is there a way that I can make the address bar show escaped (With %-encoding) URLs instead of those with unicode?
All Replies (5)
Can you please confirm that you are looking to ensure that the URL location bar in Firefox displays the Unicode characters of the URL instead of escaping them ( with % and the corresponding Unicode value).
If there is a URL where this is happening that you can provide, it will help in the investigation of the issue and suggesting possible solutions.
The OP wants the opposite: to see the escaped characters when they were entered that way and not the unescaped Unicode representation.
It is hard to see which web page is meant when you would have escaped characters visible as you wouldn't notice a slight typo, but you would see it easier when you get the actual characters.
So this is done for security reasons the prevent phishing issues and redirecting to malicious websites.
There is a difference between using unescape() and using decodeUri() or decodeURIComponent()
Firefox doesn't show the unescaped representation of URLs that have Unicode character in the location bar.
You would have to copy the URL to the clipboard and paste it elsewhere to see the escaped code.
Note that you can paste the URL in the location bar in place (Ctrl+A and Ctrl+V).
I KNOW that Firefox doesn't show escapes in the address bar. I'm trying to MAKE it show escapes instead of the HARD-TO-TYPE decoded link. I personally like escapes better so that I can easily TYPE the address in to the bar. If you could give me a way to do this, it would be really helpful :-)
By the way, IE does (with a few exceptions) NOT show decoded Unicode characters, instead good old escapes.
Maybe on later versions of Firefox, you could add a toggle near the address bar that allows users to pick whether they want to see the escapes or the decoded Unicode URL rendering in the address bar. THAT would be a BIG help, because it suits my needs and others' too!