127 Comments
- MrSarcasm, on 10/11/2007, -5/+158Type "about:config" in the location bar. In the "Filter" field type "singleline." You can set the value to 2 for editor.singleLine.pasteNewlines, which will allow pasting of multiple lines to input boxes.
damn ads all over the place. get to the point, lifehacker! - ijacker, on 10/11/2007, -13/+124@Jackyll
arent most "hacks" just obscure "settings" - DiggyBank, on 10/11/2007, -1/+107Why is this disabled by default?
- jhofman, on 10/11/2007, -0/+100How many times have I wished I had something like this!
- fkr3, on 10/11/2007, -1/+93It's disabled so that when it's discovered someone can write an article and submit it to digg.
- devonkeale, on 10/11/2007, -6/+69If you're using firefox (and you must be), get the Ad-Block Plus extension... and voila, no more ads. (At first I didn't understand what you were talking about because for me, there aren't any ads on the lifehacker site when I view it).
- Jakyll, on 10/11/2007, -33/+80This isn't a "hack," its a "setting"
- Otto, on 10/11/2007, -0/+32That option has many possible settings, actually:
editor.singleLine.pasteNewlines
Determines the behavior when pasting content containing newlines into single-line text boxes.
0 (default in Linux): Paste content intact (include newlines)
1 (default everywhere else): Paste the content only up to (but not including) the first newline
2: Replace each newline with a space
3: Remove all newlines from content
4: Substitute commas for newlines in text box - fkr3, on 10/11/2007, -2/+33You really should
see a doctor
if poetry persists - Opheicus, on 10/11/2007, -5/+35I wish I could digg this twice.
- fuzzynyanko, on 10/11/2007, -0/+25For once a "hack" that's at least computer-related makes it to the digg frontpage.
- anthrt, on 10/11/2007, -2/+24If you change the setting to 0 instead of 2, it will not replace the new lines with spaces.
- stalky14, on 10/11/2007, -3/+21Yes. I have ABP and I didn't see any ads on that page.
- MikeonTV, on 10/11/2007, -2/+20This is great
I really love this
and it works - mb309, on 12/31/2008, -0/+17Garth, thats a haiku.
- muffinking, on 10/11/2007, -0/+15Really, I thought it was for people that don't like seeing ads. Huh.
- kwick, on 10/11/2007, -2/+16Ok.. You say it is a security vulnerability. Please substantiate. don't make a claim and not back it up.
- Numfar28, on 10/11/2007, -1/+12Already the default in Opera. Good to know there's a way to activate it in Firefox, though.
- ostracize, on 10/11/2007, -0/+9It would be nice if the about:config gave a tooltip with information like that.
- gravis86, on 10/11/2007, -1/+10"Anybody want a peanut?"
- ayeroxor, on 10/11/2007, -1/+10Alright, no more rhyming! I mean it!
- gopanthers, on 10/11/2007, -0/+8Awesome. So helpful and couldn't be an easier tweak.
By the way, it also works with the search box embedded at the top of the browser so you can just highlight an address and drag it to the search box. Sweet! - lozzd, on 10/11/2007, -1/+8Guys don't feed the troll.
- anagoge, on 10/11/2007, -0/+7This is by far one of the most useful things I've ever dugg.
- TexanPsycho, on 10/11/2007, -0/+5You've had a pretty lame year then. Still a cool "hack" though.
- elganso, on 10/11/2007, -2/+7For mapping specifically, this extension enables you to select multiple line addresses, click "map this" and then open your Google map in a separate tab:
https://addons.mozilla.org/en-US/firefox/addon/1886
I've found this to be a huge time saver. - FtheMPAA, on 10/11/2007, -5/+10thanks so much i have been wishing i could do this many times.
- ayeroxor, on 10/11/2007, -9/+14"damn ads all over the place. get to the point, lifehacker!"
Um... you have firefox, yet you still see ads? Something tells me you need some basic ad-blocking extensions before you go digging in the config :-P - Ultramagnus0001, on 10/11/2007, -0/+4give the person a break, he needs to make money somehow.
- leighj, on 10/11/2007, -3/+6Maybe because in a single line text input 2 lines won't appear and you could inadvertantly paste important info and not see you pasted it.
- stormgren, on 10/11/2007, -2/+5If its word-wrapped it will. It's when there's an explicit
newline character that
it doesn't work this way by default. - TenebrousX, on 10/11/2007, -1/+4I'm sure glad I use Opera and have this functionality built in
- CzarDominus, on 10/11/2007, -4/+7Wow, one of the most useful things I've found on Digg, yet!
- RedSirus, on 10/11/2007, -3/+6@rompom7
Ah, but if you change the value to 3 instead of 2, there won't be any spaces: 2 replaces newlines with spaces, 3 eliminates them.
This makes it less useful for pasting into, say, Google Maps, since you'll get addresses which the street and city names smashed together. - fuggo, on 10/11/2007, -0/+3I use this one: https://addons.mozilla.org/en-US/firefox/addon/1104, you can configure multiple locations and from a right click, get directions automatically.
But I really want an addon to use maps.live.com the new bird's eye view is excellent. - matt95z, on 10/11/2007, -3/+6I wish I could get the hours I wasted copying and pasting before this tip back.
- skankyBacon, on 10/11/2007, -0/+3@rezkai: "Adblock is for people that don't like seeing others make money."
I'm all for people making money, just not if they're obnoxious about it. I don't want to have to close a bunch of pop-under ads or search for the rest of the article I'm trying to read that got carved up. It's not like I've ever purchased anything from a web page ad before, and the only ones I've clicked on have been by accident. - tformed, on 10/11/2007, -0/+2one up for firefox
- roosterjm2k2, on 10/11/2007, -0/+2any developers check the output of this yet?
Does it remove the newline, or does it just replace it for real? I'll have to check it out.
A real simple way to stop 99% of form spam is to check for line breaks in fields that don't allow them. The stupid bots flood every field with content, so the have line breaks all over... Some bots are smart and more is needed...but that works most of the time. I'll have to check the actual output to the server to see if its really stripping the newlines - Tmacman, on 10/11/2007, -0/+2DUGG BIG TIME!!!!
- 2oonhed, on 10/11/2007, -0/+2NICE! This is a great tip that I will use every day. It never occurred to me that it was a FF setting. Thanks Lifehacker and thanks kwick.
- weeeezzll, on 10/11/2007, -7/+9@godlike
Did saying that make you feel more 1337?
I'm pretty sure that everyone else on this site understands that making this configuration change doesn't make then a 1337 4@x0r. Why don't you grace us with your definition of "hack"? I'm sure everyone here would enjoy a good laugh.... - shawnz, on 10/11/2007, -0/+2and what if you want to use it generally and not with google maps? 8-)
- syafthegeek, on 10/11/2007, -0/+2Cool tips... I like it :)
- eliotness, on 10/11/2007, -0/+2Simple and useful. Dugg :)
- weebit, on 10/11/2007, -0/+2Thank you! Thank You! and Thank you!
- sublimer, on 10/11/2007, -0/+2perfect, simple, quick.
this is what digg is all about! - tablatronix, on 10/11/2007, -0/+2Id like a global paste-clipboard-concatenation hotkey.
- zakool21, on 10/11/2007, -0/+2This has always bothered me, especially with google maps. Thank you for posting and digging this!
- Shenaniganz08, on 10/11/2007, -0/+2:removes notepad from Quick Launch taskbar:
Thank you digg :D -
Show 51 - 100 of 117 discussions



What is Digg?
Digg is coming to a city (and computer) near you! Check out all the details on our