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: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 2Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative
- 3Linux Top 3: Fedora, Ubuntu and Gluster Lose Community Leaders
- 4Red Hat Enterprise Linux 7 Finally Hits the Big Time
- 5Linux Top 3: Tails 1.0, OpenMandriva Lx 2014.0 and Debian 7.5