Does GM.setClipboard support line breaks?

414 views Asked by At

I'm trying to copy some text and set it to the user's clipboard, but I want it to be a list. Yet everything I add to just makes it part of the string (ie. GM.setClipboard("hello\n"goodbye") = "hello\n"goodbye"). I want:

hello goodbye

Are line breaks supported?

1

There are 1 answers

0
jimjamian On BEST ANSWER

Per the comment from wOxxOm:

\r\n