Hacker News new | ask | show | jobs
by josteink 2292 days ago
> I then tried to use Gmail.js for a while, but it seems not that stable

Unlike InboxSDK, Gmail.js is open source. You actually do have the power to fix things if you like.

I think that’s an important difference. I’ve fixed things in Gmail.js when I needed them fixed.

Have you?

1 comments

Yes,I did fix a few. However, there are two places I am uncomfortable with gmail.js (again, that's a few years ago):

1. I remember it greatly depend on hijack of a global variable in Gmail.com, but occasionally the value is not available (depend on where the user refreshed the page and network speed of the user)

2. it try to send network requests to Gmail.com directly (on behalf of logged in Gmail user) and get the query result, but those API are supposed to be used only by Gmail.com internally. So once the API format changes, some data could not be collected.

In general I think this approach raised too much dependency on misc aspects of Gmail.com. Now customized DOM parsing also depend on Gmail UI, but that should be the ONLY thing that would break the system.