MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / getKey

Function getKey

src/background/utils/preinject.js:104–106  ·  view source on GitHub ↗
(url, isTop)

Source from the content-addressed store, hash-verified

102 }
103}})`;
104const getKey = (url, isTop) => (
105 isTop ? url : `-${url}`
106);
107const normalizeRealm = val => (
108 KNOWN_INJECT_INTO[val] ? val : injectInto || AUTO
109);

Callers 5

reloadAndSkipScriptsFunction · 0.85
GetInjectedFunction · 0.85
onSendHeadersFunction · 0.85
onHeadersReceivedFunction · 0.85
limitConcurrencyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected