There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close

Processing...
This may take a few seconds.

copy-to-clipboard

Syntax

copy-to-clipboard: selector [every (time)] [after (time)];

Copy the contents of the specified selector into the clipboard. The selector can either be a selectable or a non-selectable node.

If the selector is a non-selectable node, such as a div, or a p tag, the innerText of the node will be copied.

copy-to-clipboard