MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / setPrefix

Function setPrefix

example/tests/gm_download_test.js:111–115  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

109 return p;
110 }
111 function setPrefix(p) {
112 try {
113 if (typeof GM_setValue === "function") GM_setValue("dl_prefix", p);
114 } catch { /* ignore */ }
115 }
116
117 // Each test gets a unique tail so re-runs don't collide unless we explicitly
118 // want them to (the conflictAction "overwrite" test reuses a fixed name).

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected