Firefox Tips: Handle Multiline Pasted ("Broken") URLs


Ever trying to cut and paste a URL into Firefox but the URL is spawned into multiline so that you need to delete the line break yourself? Andrei Zmievski has posted a tips on how to make Firefox smarter to remove the line break:

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.

Pasting Wrapped URLs – [Andrei Zmievski via Jeremy Zawodny]

Love this article? Share it with your friends on Facebook

Get more great stuff like this delivered straight to your inbox
Love this article? Get more stuff like this in your inbox
One-Click Subscribe