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

Function unregisterScriptFF

src/background/utils/preinject.js:667–673  ·  view source on GitHub ↗
(bag)

Source from the content-addressed store, hash-verified

665}
666
667function unregisterScriptFF(bag) {
668 const reg = bag[CSAPI_REG];
669 if (reg) {
670 delete bag[CSAPI_REG];
671 return reg.then(r => r.unregister());
672 }
673}
674
675/**
676 * @param {chrome.webRequest.WebResponseHeadersDetails} info

Callers 5

onDisposeFunction · 0.85
reloadAndSkipScriptsFunction · 0.85
[kPageMenuCommands]Function · 0.85
toggleFastFirefoxInjectFunction · 0.85
detectStrictCspFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected