GM.setClipboard: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
(Created page with "{{DISPLAYTITLE:GM_setClipboard}} == Description == Sets the current contents of the operating system's clipboard. Compatibility: Greasemonkey 1.10+...")
(No difference)

Revision as of 15:32, 20 June 2013


Description

Sets the current contents of the operating system's clipboard.

Compatibility: Greasemonkey 1.10+

Syntax

function GM_setClipboard( text )

Arguments

text
String Any text.

Examples

GM_setClipboard('http://www.example.com/short-url-code');