Interesting - and a very good job given what you have to work with. Surely its incredibly brittle, though? As soon as they release a new version of Gmail it's going to fail. But then, I suppose that's how most Chrome extensions work.
Yeah, the strange selector names that never cease to change were what ultimately caused me to abandon my relatively popular Chrome extension "Gmail Attachments to Drive". Having to constantly update the code every time Gmail changed just got old really, really fast.
Show HN: Gmail.js – JavaScript API for Gmail
21–30 of 63 posts
Re: Show HN: Gmail.js – JavaScript API for Gmail
#22This is pretty useful. A couple months ago I started making a free self-hosted version of Boomerang for Gmail, but lost interest because I felt like I would have to devote most of my time to gmail's idiosyncrasies. Maybe it's time to get back to work. Is there a way to add navigation events (eg. user opened email) to the observe gmail.observe API? Right now it looks like I would have to poll gmail.check.is_inside_ema…
Re: Show HN: Gmail.js – JavaScript API for Gmail
#23Unfortunately this type of hacking isn't really sustainable. Even small tweaks to the Gmail UI often change the DOM in very unpredictable ways. When they released the new compose feature, pretty much every single Gmail Chrome extension broke. We haven't really announced it yet, but I've been working on a new email platform with some friends to solve a lot of these issues. It's essentially Rails/Meteor for email featu…
Re: Show HN: Gmail.js – JavaScript API for Gmail
#24Re: Show HN: Gmail.js – JavaScript API for Gmail
#25Re: Show HN: Gmail.js – JavaScript API for Gmail
#26Re: Show HN: Gmail.js – JavaScript API for Gmail
#27Earlier quoted context omitted.
Yeah, the strange selector names that never cease to change were what ultimately caused me to abandon my relatively popular Chrome extension "Gmail Attachments to Drive". Having to constantly update the code every time Gmail changed just got old really, really fast.
There's a new "Save to drive" button now anyway!
Re: Show HN: Gmail.js – JavaScript API for Gmail
#28You probably know more about Gmail then you ever wanted to, right?
Re: Show HN: Gmail.js – JavaScript API for Gmail
#29Re: Show HN: Gmail.js – JavaScript API for Gmail
#30It's called IMAP/SMTP!