3 ms·
How does this work? Why did they obfusicate their JS? Do I want to trust them?
by zx2c4 13y ago
How does this work? Why did they obfusicate their JS? Do I want to trust them?
- SchizoDuckie 13y agochrome["webRequest"]["onBeforeSendHeaders"]["addListener"](function (a) { var b = a["requestHeaders"]; b[forEach](function (c, d) { if (c["name"]["toLowerCase"]() =="user-agent") { c["value"] = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)",; }; }); return { requestHeaders: _0xb56fx2 }; }, { urls: ["http://mail.google.com/*" http://mail.google.com/*", "https://mail.google.com/*" https://mail.google.com/*", types: ["main_frame", "sub_frame"] }, ["blocking", requestHeaders); It actually really just swaps the user-agent for the ie8 header.