Put a character in the address bar, paste the text, then ctrl+left for a while then hit delete. (Not like it will do anything, but that's how you can put the text in the address bar.)
Firefox address bar is broken. When you want to copy an url from it (e.g. wikipedia link) it url encodes the text, and makes it unreadable (especially when your language contains non latin characters). I copy links starting form the 't', and manually add the 'h'.
Also when you copy something in the URL bar, then ctrl a then ctrl x, it will copy the original url, instead of your text. But if you do it twice, it will copy your text instead. (Same in windows, linux, even in palemoon.)
It looks like a normal input field on the screen, and it tempts me to use it, but bites me most of the times.
I tried what you said and it doesn't work with "javascript:" uris (probably to prevent running of unwanted code?).
Firefox bar is not "broken", as every browser I tested has the same behavior, and I think it's because a valid uri should only contain ASCII characters (as described in RFC3896[0]), but I agree with you that it's annoying: it should copy the text as it's displayed.
Fun fact: Internet explorer let you copy the uri "as is" without encoding.
Firefox address bar is broken. When you want to copy an url from it (e.g. wikipedia link) it url encodes the text, and makes it unreadable (especially when your language contains non latin characters). I copy links starting form the 't', and manually add the 'h'.
Also when you copy something in the URL bar, then ctrl a then ctrl x, it will copy the original url, instead of your text. But if you do it twice, it will copy your text instead. (Same in windows, linux, even in palemoon.)
It looks like a normal input field on the screen, and it tempts me to use it, but bites me most of the times.