MCPcopy
hub / github.com/Tampermonkey/tampermonkey / getmeta

Function getmeta

src/background.js:2856–2866  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

2854 };
2855
2856 var getmeta = function(req) {
2857 o.meta = null;
2858 if (req.readyState == 4 && req.status == 200) {
2859 var meta = scriptParser.processMetaHeader(req.responseText);
2860 o.meta = meta;
2861 o.metasrc = req.responseText;
2862 } else {
2863 console.log("bg: unable to find meta data @ " + murl + " req.status = " + req.status);
2864 }
2865 callback(o);
2866 };
2867
2868 xmlhttpRequest(details, getmeta);
2869

Callers

nothing calls this directly

Calls 4

callbackFunction · 0.85
versionCmpFunction · 0.85
realCheckFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…