You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
paramName
( optional Type array of paramType )
Undocumented.
Description of this parameter from the json schema.

Google Chrome Extensions (Labs)

chrome.experimental.clipboard

For information on how to use experimental APIs, see the chrome.experimental.* APIs page.

Notes

For all functions exposed by this API, the argument to the callback indicates whether or not the event was successfully dispatched, not whether the event was successfully processed and handled. Most callers won't care, since a failure generally indicates the tab is going away.

API reference: chrome.experimental.clipboard

Methods

executeCopy

void chrome.experimental.clipboard.executeCopy(, integer tabId, function callback)

Triggers a copy operation in the specified tab.

Parameters

tabId
( Type array of integer )
Undocumented.
Description of this parameter from the json schema.
callback
( optional Type array of function )
Undocumented.
Description of this parameter from the json schema.

Returns

Callback function

The callback parameter should specify a function that looks like this:

If you specify the callback parameter, it should specify a function that looks like this:

function() {...});

executeCut

void chrome.experimental.clipboard.executeCut(, integer tabId, function callback)

Triggers a cut operation in the specified tab.

Parameters

tabId
( Type array of integer )
Undocumented.
Description of this parameter from the json schema.
callback
( optional Type array of function )
Undocumented.
Description of this parameter from the json schema.

Returns

Callback function

The callback parameter should specify a function that looks like this:

If you specify the callback parameter, it should specify a function that looks like this:

function() {...});

executePaste

void chrome.experimental.clipboard.executePaste(, integer tabId, function callback)

Triggers a paste operation in the specified tab.

Parameters

tabId
( Type array of integer )
Undocumented.
Description of this parameter from the json schema.
callback
( optional Type array of function )
Undocumented.
Description of this parameter from the json schema.

Returns

Callback function

The callback parameter should specify a function that looks like this:

If you specify the callback parameter, it should specify a function that looks like this:

function() {...});