No delegating to Todoist for Gmail 2.0
A while ago I wrote a plugin for Firefox that added a link to gmail enabling you to easily delegate emails to Todoist. Unfortunately the update of Gmail to 2.0 broke the plugin. Fortunately you can still use the old interface, and I suspect that's what a few people have been doing.
I've looked a few times into how to update it but I could never get the new interfact (turns out it doesn't work with English (U.K.)). Finally today I got it working but there is a bit problem. Gmail 2.0 preloads the messages, making it quicker to view messages but there is also now no request when you view an email, which the plugin relied upon to know when an email was being looked at and hence to inject the button.
It's probably possible to do some fancy injecting, function overriding or specific browser plugin tricks. However, all of those are beyond my immediate capabilities and I would have to either trawl through and understand Gmails compressed code or learn a heck of a lot more about plugins.
As an apology, here is a greasemonkey script which does what the old code did (minus the greybox stuff, which I'll probably add sometime soon). It can be used with Firefox's Greasemonkey plugin, Safari's Greasekit plugin or Opera 8's user scripting functionality (It probably works with some IE plugin, but I can't find or get one to work).
Update: I just discovered Google have release an experimental API. It now works with Gmail 2.0 in Firefox.

Comments
is it possible to get this working as well?
much obliged
s