browser wish-list item: join multi-line paste into textbox with spaces

I find myself doing a copy-paste of a multi-line address into a search engine to find directions relatively common (like but unfortunately, pasting a multi-line entry into the single-line textbox means you only get the first line pasted.

I’d rather have an option (at the browser would be fine, but if overriding the paste is possible in javascript, then there is fine too) that pasted multi-line entries into single-line targets like this (at least textbox) as the strings joined together with a character (in most cases, a space works great).

Saves me from having to copy-paste twice.

Note, that I’m sure there’s some firefox extension out there that will google map a place I’ve highlighted the address for in the current page, but really, that doesn’t count. 🙂