Google Calendar TODO list for GreaseMonkey
Important update: Google Calendar has built-in tasks since May 13th. This script is thus no longer necessary to install.
I’ve discovered GreaseMonkey. Yes, I am a bit late, but once I finally installed it, I sure love it. Though the script, that I needed, only existed in a very simple version.
I have thus taken the initial version of the Google Calendar TODO list by Matias Pelenur and the modified version by Gimite Ichikawa and created a brand new version that I submitted to UserScripts.org.
First thing this new version does is, that it uses the eventStatus-field for setting whether the todo has been done or not. And then there is a flush button to flush (remove) todones. And finally the todos and todones are sorted using the status and title. This will be a work in progress and will be developed further upon.
My further todo for the todo (a todo todo) includes (but not necessarily in this order):
- Prioritize (and sort by this)
- Refactor to use mochikit instead of homebrewed stuff
- Refactor to use category instead of time
- Dockable sidebar
- Settings
- Groupable elements
- Colored elements
- Set dates for expiry and show up in calendar too
If you have GreaseMonkey, point it here or here.
Updates
- 2007-06-06
- Version 0.4.1 posted here and at Userscripts.org due to bug after Google Calendar update.
Related posts:
Category: API, JavaScript 47 comments »

May 11th, 2007 at 09:15
Sweet
May 12th, 2007 at 00:31
hey there. this script work well for me, thanks! i’m wondering if something similar could be done for gmail?
thanks again,
alexis
May 12th, 2007 at 11:26
I’m pretty sure it could – but where should it be saved? If saved locally in the browser, it would not be possible to access it from everywhere. And if saved in a mail, well, don’t know if that is possible.
I will maybe look into that later, but first up, I will improve it for GCal and create a gadget for google frontpage using the same GCal events.
May 12th, 2007 at 21:39
SUPER! I actually discovered the old script (Gimite’s) yesterday and sat down this evening to do about the same stuff you allready had done. Now I’ll try to make it work with Gmail, but I really don’t know how. Thank’s for your work!
May 12th, 2007 at 21:41
One more thing: Is it not possible to use the same GCal events in GMail?
May 13th, 2007 at 06:49
Can’t get the script to work.. Where is the TODO list? Maybe I’m just stupid, or my Greasemonkey might be malfunctioning like alot of other stuff on my computer these days..
May 13th, 2007 at 17:11
Johan: The CAL-cookie needed for authenticating to the GCal API is linked to .www.google.com and not just .google.com – thus it cannot be accessed from GMail running off mail.google.com. :(
Jesper: It should show above the list of calendars in a box similar to the calendar-list – in the right side below the little month view. :)
May 16th, 2007 at 22:46
Could you add a few more fields to each todo item? In order of importance.
* Title (you already have)
* Category
* Description
* Due Date
Being able to sort by Category, Title or Due Date would be pretty cool too.
This would allow me to use the Getting Things Done methodology by David Allen.
May 17th, 2007 at 16:58
There isn’t much room in the little sidebar for all that, but I will try. Category and Due date was already on my todo, but a little popup with a description could be nice as well. I will most likely post an improved version of the script within a few days.
June 6th, 2007 at 11:41
There seems to be a Google Calendar update. Greysemonkey Todo script is not working anymore.
June 6th, 2007 at 12:07
Update posted both locally and on userscripts.
June 13th, 2007 at 20:40
Sweet! Thanks for updating this script! I was tearing my hair out after my todo list went away when Gcal was updated. Now all my tasks are back!
June 20th, 2007 at 05:53
the sort order changes spontaneously sometimes.
all day, i entered things and they sorted alphabetically, and then i logged in tonight and they sorted themselves in the order they were created/modified.
I want them alphabetical, because i use a keyword at the beginning of each task as a way to group them.
how can i make them stay alphabetical?
June 20th, 2007 at 09:36
Was the error consistent? Are you completely unable to get them alphabetically sorted? If you change or add one item, does the sort order correct itself?
I’m not saying there is no error – just trying to figure out how it affects what. :)
June 27th, 2007 at 00:14
Uh – how do you install it..?? Thanks
Bill
June 27th, 2007 at 09:50
Go to greasespot.net and install Greasemonkey. Then go here to install this script – by pressing the install button in the sidebar creating an “install userscript” popup.
July 5th, 2007 at 16:46
Hi,
i’m not much of a programmer but would like to use this todo list with the google calander. How do I use this script?
thanks
July 5th, 2007 at 17:07
See the above comment – it is quite simple :)
July 15th, 2007 at 19:48
Could you post a screenshot?
July 26th, 2007 at 11:09
I see the little thing below my small calendar, but how do I add tasks to it?
August 8th, 2007 at 16:33
I promise, I’m not stupid (at least I don’t think so), but for the life of me, I cannot figure out how to get this to work! I click on the download script at userscripts.org. Nothing seems to happen automatically, so there must be another step, but I don’t know what to do after that. HELP! Please!!
August 9th, 2007 at 07:29
OK, Maybe I’m a dingbat. But I don’t see the list. I saw the comment above “It should show above the list of calendars in a box similar to the calendar-list” but there is nothing between the month view and the list of calendars. Help?
August 9th, 2007 at 13:16
Amanda: I will do that soon :)
Kalowski: Press the little blue “plus” icon
Janette: you did install greasemonkey right? If you did and it was version .69, then it had a slight misconfiguration. You have to enable and disable it once to make auto-install work. You do that by clicking the little monkey (it is a monkey!) on the lower right corner or the window twice. Then click the download link from userscripts.org.
Rue: I will check if it still works. you can look in the Tools menu under Greasemonkey -> Manage to see, if you installed it correctly.
August 9th, 2007 at 21:44
Barklund –
It does show up under “Manage User Scripts.
Question, though – I am using google calendar hosted – the URL for my weekly page looks like this: http://www.google.com/calendar/hosted/asu.edu/render...
Would the hosting part screw it up? I thought the script worked as long as http(s)://www.google.com/calendar was the first part….
August 10th, 2007 at 09:23
It should, but the script uses the very specific structure of the html at google calendar to inject the todo list. And on this hosted page, some things might be different in the html, some attributes missing, some names changed. And if so, the script will not work.
With “hosted” you mean “Google Apps for your Domain” or…? I think I have some domain in there, I can test via, if that is what you mean :)
August 11th, 2007 at 17:35
Hey great script- I like the simplicity of it, I can use it has a to do list or shopping list. My wish list- that some how the to do/ list items could be added to the day’s events so that my mobile phone could receive those updates- especially useful for grocery shopping lists. Any how thanks barklund.
john
August 11th, 2007 at 19:06
is there any way that this could be linked to an os x ical to do list? that would be so great! i can’t find any online task management that offers bi-directional sync of to dos. oh, having that would have me in efficiency heaven at last!
August 13th, 2007 at 05:14
I guess so – the university through which I have my email has moved everyone to google apps. If you get a chance to test that would be terrific. (Google really should have a todo list in their own software, but that’s another thing entirely….)
September 9th, 2007 at 21:45
Hey man, I encourage you to keep working with this todo list! It’s a fantastic add-on. Implement those ‘to-do to-dos’ and you’ll have a real winner. Thanks so much, in the meantime. Your list has helped me organize myself and my schedule.
September 14th, 2007 at 01:33
Great work… but I have a question… Have you approached Google so that this functionality is implemented at the server side on Google?.
It sounds quite silly to have to always patch up on the client side, and then have to fix the script when Google changes things and the script stops working.
This kind of “To-do” list is something seriously needed as a standard GMail feature.
I think the Google folks are reasonable people. So… have you approached them?. Chances are they’re not aware of every greasemonkey script on Earth…
Best
Fernando
September 14th, 2007 at 10:37
Fernando, that is a reasonable question, and no, I have not contacted Google. But someone else discovered (can’t find the link), that in the current javascript there is something called Task completion which is currently “not yet implemented”. This indicates, that Google has this on their own todo-list.
Besides, it has also been suggested by many others, e.g. in the Google Group for Google Calendar Users.
September 26th, 2007 at 14:59
Oh man, this script is supernice.
The only thing i do not like is the “add item” button, consider to make less ungainly.
Happy coding to you :)
November 11th, 2007 at 16:22
Where are the to do items stored? Local or on the Google server?
Great tool by the way. Thanks.
November 12th, 2007 at 13:04
They are stored in the calendar. If you search for “todo” in GCal, you can see them all (stored on 1970-01-01).
December 14th, 2007 at 22:35
I cannot this script to work with Firefox 2.0.0.11 and the latest Google Calendar as of todays date 20071214.
Thanks.
December 14th, 2007 at 22:36
Lets try proper English whilst at work!
I cannot “get” this script to work with Firefox 2.0.0.11 and the latest Google Calendar as of todays date 20071214.
Thanks.
January 7th, 2008 at 01:39
did not work for me. love the idea tho
January 8th, 2008 at 17:57
Hi,
I just installed greasemonkey today and I have no programming experience so i consider it a small miracle that my computer didnt blow up:)
I had no problem installing the script. But I dont see anything in my google calendar once the script is installed? Does anyone have a screen shot of what it is supposed to look like once the script is installed? I don’t think it is working for me. Using Firefox 2.0.0.11.
Thanks …
May 7th, 2008 at 21:38
I see a place to enter a friends calendar, can you explain how that works? I have entered a friends email address, but my to do list doesn’t appear to show up on their google calendar (they have GM and this script enabled).
Many thanks.
May 12th, 2008 at 05:53
The field to add a friend’s calendar is a bug. It is irrelevant to the TO DO List.
The “Add a Friend’s calendar” field is part of the calendar_div element aka “My Calendars”. (My Calendars is redundant; this functionality is in the Settings page.)
I’ve never programmed javascript before but I tinkered a bit:
If you hide calendar_div with:
calendar_div.style.display = ‘none’;
the stray field remains in todoBottomChrome.
I also tried making another script to remove calendar_div element altogether via removeChild method. This works but throws an error (says firebug).
June 18th, 2008 at 17:56
I’m just wondering if it works with Firefox 3. I’m not seeing my TODO list in Firefox 3.
June 23rd, 2008 at 04:49
My TODO list stopped working once I updated to Firefox 3.0. Will there be any patches for the new version of the browser?
July 5th, 2008 at 00:25
i loved it!
and it worked fine in firefox 2.0.0.14 and 2.0.0.15
but not anymore in FIREFOX 3
and i do not understand why….
really bad
September 2nd, 2008 at 20:55
Hi, I’m a first timer and am excited about this script but seem to be having similar difficulties as some others are getting it running.
I have successfully installed Greasemonkey 0.8.20080609.0 and activated your updated Todo list script – so I see it ticked when I right click the Greasy critters face, and see it enabled in ‘Manage User Scripts’ from the tool bar. But I can find no sign of it in my Google Calender.
Please advise, thank you.
September 2nd, 2008 at 21:39
Sorry, I forgot to mention that I’m running Firefox 2.0.0.16
Thanks.
October 11th, 2008 at 05:13
I’m having the same problem with Firefox 3. I’m not seeing any TODO list in my calendar at all!! Please help because I cannot WAIT to use this script!!
May 19th, 2009 at 11:00
haven’t read all the comments above, but if you want to create a toDo for use in gmail, you could create each items as a draft, and save it under a certain label (that’s used exclusively for todo items).
if the script sets up the filter to look for a certain unique text in the item to mark the label, it would even work if you send the item to someone else via email!!! (you may need to do some juggling around to handle editing an item that has been sent to you though – something like deleting the original mail and creating a draft with the same content)