Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SchizoDuckie
on Sept 23, 2013
|
parent
|
context
|
favorite
| on:
Why The New Gmail Sucks
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/*"
, "
https://mail.google.com/*"
, types: ["main_frame", "sub_frame"] }, ["blocking", requestHeaders);
It actually really just swaps the user-agent for the ie8 header.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It actually really just swaps the user-agent for the ie8 header.