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

Function loadScriptStorage

src/background.js:3714–3719  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

3712/* ###### Storage ####### */
3713
3714var loadScriptStorage = function(name) {
3715 var s = TM_storage.getValue(name + storeAppendix, { ts: 0, data: {}});
3716 if (typeof s.ts === 'undefined') s.ts = 0;
3717 if (typeof s.data === 'undefined') s.data = {};
3718 return s;
3719};
3720
3721var storeScriptStorage = function(name, storage) {
3722 if (storage) {

Callers 3

runtimeInitFunction · 0.85
notifyStorageListenersFunction · 0.85
connectMsgHandlerFunction · 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…