3 ms·
chrome["webRequest"]["onBeforeSendHeaders"]["addListener"](function (a) { var b = a["requestHeaders"]; b[forEach](function (c, d) { if (c["name"
by SchizoDuckie 13y ago
chrome["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.