MCPcopy Index your code
hub / github.com/Tampermonkey/tampermonkey / getAllScriptNames

Function getAllScriptNames

src/background.js:3642–3654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3640};
3641
3642var getAllScriptNames = function() {
3643 var values = TM_storage.listValues();
3644 var ret = [];
3645 for (var k in values) {
3646 var v = values[k];
3647 // TODO: use appendix
3648 if (v.search(/@re$/) == -1) continue;
3649 var s = v.replace(/@re$/, '');
3650 // console.log("#### found " + v + " -> " + s);
3651 ret.push(s);
3652 }
3653 return ret;
3654};
3655
3656var reorderScripts = function(name, pos) {
3657 var scripts = determineScriptsToRun();

Callers 5

restoreAllScriptsExFunction · 0.85
convertDataFunction · 0.85
background.jsFile · 0.85
determineScriptsToRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…