Pasting Wrapped URLs

» 22 July 2005 » In Other, Tech »

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.

Trackback URL

  1. andrei
    Steffen Weber
    22/07/2005 at 12:46 pm Permalink

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

  2. andrei
    mike
    22/07/2005 at 1:28 pm Permalink

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

  3. andrei
    lazyweb
    22/07/2005 at 8:37 pm Permalink

    Yeah, what’s 2 do? Huh?

  4. andrei
    jj
    22/07/2005 at 9:31 pm Permalink

    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.

  5. andrei
    Olivier
    25/07/2005 at 4:10 am Permalink

    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.

  6. andrei
    Amit
    02/08/2005 at 5:40 am Permalink

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

Additional comments powered by BackType