4 ms·
Is this something more than the plugin that sends the IE8 user agent to gmail? I hope so, that way it will work when google finally takes the IE8 trick away.
by ck2 12y ago
Is this something more than the plugin that sends the IE8 user agent to gmail?
I hope so, that way it will work when google finally takes the IE8 trick away.
lol, no, this is the entire plugin, seriously, it took them far longer to make that webpage
if (host.indexOf("mail.google.com") == 0) {
var agent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)";
httpChannel.setRequestHeader("User-Agent", agent, false);
}
- hartator 12y agoThe worst part I guess is they have to be a 3 people team! :)
- saberworks 12y agoHm, their page says: What Makes Old Compose So Unique? Old Compose was built from scratch as opposed to other solutions which simply trick the browser into thinking you are using Internet Explorer 8. What's the difference? Old Compose can work... forever. Old Compose can support all the extensions you love... forever. Old Compose works with all the awesome new Gmail features. Old Compose will even work with awesome products that haven't even been invented yet!
- ck2 12y agoYou don't have to take my word for it, download the plugin, open it with 7zip and look at the source. All it does is change the user-agent. When Google stops supporting IE8, it will be over, hopefully we have many years.
- saberworks 12y agoIndeed. Unfortunate that their page says otherwise.
- brotoss 12y agoBut the "team" is "Culturally Diverse"!
- mmebane 12y agoThat appears to be only the case for the Firefox version. The Chrome version looks legit - the main implementation is in gmail.js inside the extension folder (%LOCALAPPDATA%\Google\Chrome\User Data\Default\Extensions\fcnoahpalppomkbilmlkhiimjfmpmgpk\ on Windows).
- ck2 12y agoI can't download the chrome version right now but look at their code carefully - is that code perhaps there to translate IE8 compatibility to Chrome? Is that all it is doing or is there something more? Because I am betting it is just IE8 compatibility. Would be happy to be wrong.
- mmebane 12y agoIt's using MutationObservers to look for the compose window showing up, then click the fullscreen button on the compose window and do a couple of other things. Here's the code: https://gist.github.com/anonymous/7d24b19158f33c179086 https://gist.github.com/anonymous/7d24b19158f33c179086