jim, you really need to learn the art
of asking what you are doing wrong,
instead of just making a report that
"the tool doesn't work".

you say the text shows up unwrapped;
that indicates the script is working...

if the linebreaks "reappear", then you
are doing something wrong...  _you_...

what i imagine is happening is this:
you're doing a "select-all" before you
copy text from the browser-window.

that copies the text from the _field_
as well as the unwrapped text below.
so when you paste the text elsewhere,
the text you see (because it's on top)
is the wrapped text from in the field.

you need to copy the _unwrapped_ text
out of the browser window that appears,
and _only_ that unwrapped text.  get it?

-bowerbird