Why Firefox Rocks: Great Firefox Tricks, Part IV - page 3
The Plague of Ridiculously Long URLs
In Firefox 2 and earlier versions, this ability to handle multi-line URLs worked only on Linux. A nice benefit for Linux users! It worked due to the way single line text fields handled pasting of multiple lines: on Windows and Mac, if you pasted more than one line Firefox would just chop off the extra. But in Firefox 3, finally all platforms get the benefit of multi-line URLs, and we can't feel quite as special any more.
If you're still using Firefox 2 and want multi-line URLs on Windows or Mac, or if you want to make your text fields handle multi-line pastes in a different way in any version of Firefox, you can use the preference editor.singleLine.pasteNewlines. For instance, if you use Chatzilla, sometimes it's useful to be able to paste multiple lines (option 0).
Load about:config and search for newlines. Here are the possible values (options 4 and 5 are new for Firefox 3):
- Paste newlines intact (the Linux default from Firefox 2 and earlier)
- Paste up to the first newline
- Replace newlines with spaces (the new default)
- Strip newlines
- Replace with commas
- Strip newlines and surrounding whitespace
After changing the preference, you'll have to restart the browser before you'll see its effect.
That's it! So next time your mailing list starts up on "That link didn't work -- it was too long!" don't wait for the TinyURL. Just paste it into Firefox and you're all set.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates