GM.setClipboard
From GreaseSpot Wiki
(Redirected from GM setClipboard)
Description
Sets the current contents of the operating system's clipboard.
Syntax
function GM.setClipboard( text )
Compatibility: Greasemonkey 4.0+
Arguments
text
String
Any text.
Returns
undefined
Examples
GM.setClipboard('http://www.example.com/short-url-code');