Gravitonic
Andrei Zmievski

22-July-2005
Pasting Wrapped URLs

Here's another Mozilla/Firefox tip: if you copy a URL wrapped over multiple lines from somewhere and try to paste it into the address bar, you will end up only with the first line of it. To fix it, go to about:config and change editor.singleLine.pasteNewlines setting to 3 or add:

user_pref("editor.singleLine.pasteNewlines", 3);

to your user.js file. Now all the line breaks will be removed upon pasting.

Posted at 9:21 | Tech
Comments

Great, I´ve always been annoyed by this behaviour! :-)
Andy reason why this is not the default?

Posted by Steffen Weber on July 22, 2005 12:46 PM

Awesome - that has long annoyed me. What does a value of 2 do?

Posted by mike on July 22, 2005 01:28 PM

Yeah, what's 2 do? Huh?

Posted by lazyweb on July 22, 2005 08:37 PM

Thanks Andrei for a great tip!

It seems that a value of 2 replaces new lines with spaces. I'm wondering what is that useful for.

Posted by jj on July 22, 2005 09:31 PM

There is this little Firefox/Thunderbird extension called URL Link from http://www.fnxweb.com/software-mozilla, which does this and more. You should definitely check it out, it sure is one of my favorite.

Posted by Olivier on July 25, 2005 04:10 AM

Nice! I wanted this from the begining when Firefox came out.

Posted by Amit on August 2, 2005 05:40 AM