Tip Details Add a Related Tip

Rate as: Positive Negative

Pasting multiple lines into a form element in Firefox

In Firefox, if you copy something that has line breaks in it and then try to paste it into a form element which only takes a single line, Firefox ignores everything after the first line break. The time this is most annoying is when you are trying to copy an address (from multiple lines) into an address on a single line (like a mapping site). Happily though, Firefox allows you to change this behavior.

Type about:config in the address bar of your browser and scroll down to the line called editor.singleLine.pasteNewlines. Double click on the entry and you can enter a number from 0 - 4. Here's what the values mean:

0 - Paste content intact including newlines (this is the default in Linux).
1 - Paste the content only up to (but not including) the first newline (the default for non-Linux).
2 - Replace each newline with a space (probably the one you want).
3 - Remove all newlines from content
4 - Substitute commas for newlines
Rating: no ratings, 0 total Votes
Categories: firefox browsers tweaks
Added: on Jun 14, 2007 at 6:28 am
Added By: foxnut

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Use non-compatible plug-ins in Firefox 3

100% positive, 0 comments
– Tip added by an anonymous user on Jan 13, 2008 at 8:13 am

Turning off autoscroll in Firefox

100% positive, 0 comments
– Tip added by libby on Feb 25, 2008 at 4:11 pm

Turn off tool tips in Firefox

75% positive, 4 comments - last added on May 30, 2008 at 1:50 pm
– Tip added by an anonymous user on Jan 22, 2008 at 7:32 pm

Quick searches in Firefox

100% positive, 0 comments
– Tip added by foxnut on Apr 01, 2008 at 12:02 pm

Fix the Home button in Firefox 3

100% positive, 1 comment - last added on Mar 27, 2008 at 6:48 am
– Tip added by foxnut on Mar 20, 2008 at 8:34 am

running multiple firefox versions on a Mac

Categories: browsers firefox Mac
100% positive, 1 comment - last added on Jun 18, 2008 at 7:58 am
– Tip added by an anonymous user on Jun 18, 2008 at 7:53 am

Using GMail in Firefox for mail links

100% positive, 0 comments
– Tip added by an anonymous user on Jun 13, 2008 at 8:26 am

Clicking the address bar in Firefox 3

100% positive, 0 comments
– Tip added by an anonymous user on May 27, 2008 at 4:49 pm

Quick copy of text in Firefox

100% positive, 0 comments
– Tip added by an anonymous user on May 12, 2008 at 7:36 am

Duplicate a tab in Firefox

50% positive, 2 comments - last added on May 16, 2008 at 12:56 pm
– Tip added by foxnut on Mar 19, 2008 at 3:12 pm

Run Firefox 2 and Firefox 3 at the same time

Categories: browsers firefox
100% positive, 0 comments
– Tip added by an anonymous user on Jan 30, 2008 at 9:28 am

Don't have Firefox remember passwords

100% positive, 0 comments
– Tip added by an anonymous user on Dec 15, 2007 at 10:11 am

Safe surfing at work

no ratings, 0 comments
– Tip added by an anonymous user 1 day, 11 hours ago

get search results as you type

no ratings, 0 comments
– Tip added by an anonymous user on Jun 06, 2008 at 3:48 pm

Quicker searching in pages on Firefox

no ratings, 0 comments
– Tip added by an anonymous user on Apr 11, 2008 at 7:04 pm

Open Firefox search results in a new tab

no ratings, 0 comments
– Tip added by foxnut on Apr 02, 2008 at 3:37 pm

Zooming text only in Firefox

no ratings, 0 comments
– Tip added by foxnut on Apr 01, 2008 at 9:40 am

Setting the homepage in Firefox

no ratings, 0 comments
– Tip added by an anonymous user on Mar 19, 2008 at 9:30 am

Firefox page navigation

no ratings, 0 comments
– Tip added by an anonymous user on Feb 21, 2008 at 10:50 am

Never lose form text entries again

no ratings, 0 comments
– Tip added by matesh on Feb 03, 2008 at 9:39 am