Making Firefox Handle Multiline Pasted (“Broken”) URLs

Andrei provides an excellent tip for Firefox users in 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.

Excellent! I’d been looking for such a feature.

[Via Jeremy Zawodny’s blog]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.