GM.setClipboard
From GreaseSpot Wiki
Jump to navigationJump to search
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');