MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / copy

Function copy

pages/viewScriptSource/main.js:25–28  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

23};
24
25function copy(text) {
26 navigator.clipboard.writeText(text);
27 alert("Copied");
28}
29
30// https://stackoverflow.com/a/26276924/11898496
31async function getScriptSource(scriptId) {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected