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

Function onDispose

src/background/utils/preinject.js:67–70  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

65const cache = initCache({
66 lifetime: 5 * 60e3,
67 onDispose(val) {
68 if (IS_FIREFOX) unregisterScriptFF(val);
69 cache.del(val[MORE]);
70 },
71});
72// KEY_XXX for hooked options
73const GRANT_NONE_VARS = '{GM,GM_info}';

Callers 1

delFunction · 0.85

Calls 1

unregisterScriptFFFunction · 0.85

Tested by

no test coverage detected