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: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1