Paste multiple lines into a single-line text field in firefox

Standard

Double Line Pasting

Have you ever been in Firefox and wanted to paste multiple lines of text into a single-line text field? You know, like in the example above where there is an address which has been placed on two different lines, but if you paste that into the Google Maps search field it will cutoff anything on the second line.

Although you can’t do this in Firefox by default, it is actually possible with a quick little tweak:

  1. In the Firefox Address Bar type about:config and press Enter.
  2. Find the option that is named editor.singleLine.pasteNewlines and double-click on it.
  3. Change the value to 2.

Double Line Pasting Config

Now you can copy and paste, or drag and drop multiple lines of text into a single-line input field! How cool is that?

source: CyberNet