MCPcopy Create free account
hub / github.com/clair-design/clair / execCopy

Function execCopy

docs/plugins/scripts/tiny-copy.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 * exec copy command
16 */
17const execCopy = () => {
18 try {
19 document.execCommand('copy')
20 } catch (e) {}
21}
22
23/**
24 * copy from element

Callers 3

copyFromElementFunction · 0.85
copyFromTextFunction · 0.85
tinyCopyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected