MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / disableNative

Function disableNative

src/background.js:3171–3175  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

3169
3170 if (false) { // add user option
3171 var disableNative = function(item) {
3172 if (!item) return;
3173 console.log("bg: disable extension " + item.name);
3174 extensions.setEnabled(item, false);
3175 }
3176 extensions.getUserscriptByName(script.name, disableNative);
3177 }
3178 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…