GCal Event Color Codes

By Matthew Jeffryes Last update Jan 16, 2010 — Installed 4,729 times.

Script Summary: Color codes GCal events using tags and get time summaries by tag. (Allows multiple colors on one calendar)



This script is no longer maintained! As of May 2011, Google has added a feature that allows you to select custom colors for your events making this script obsolete.

This script creates an expandable box between the month and the calendar list on the left side. Clicking the button on this box toggles the display between a user selected color coding, based on tags in the event title, and the default Gcal, per calendar, color coding. The script searches for events the contain a tag such as "!fun" or "!work" and colors the event based on the table of colors defined in the script. (Tags are indicated by a leading "!" or "#", as indicated by the script menu option) You can also define subtags, which are key words which map to a tag if no tag is explicitly specified. (eg. "dinner" and "lunch" might be subtags of "!food" so you don't have to type the tag every time you create an event labeled "dinner".)

Clicking the arrow on the box expands the box to show a list of your tags and allows you to edit your existing tags or create new ones.

Warning: If you are upgrading from a version older than January 2010 and have made custom tags, you will need to save a copy of your tags to enter into the new version. Later versions of the script will persist tags across upgrades.

Updates
01/16/10 - Edit tags in the browser; tags saved in firefox preference store
09/06/09 - Fix all day events support, support color codes in month view
06/20/09 - Fixed to support updated GCal source, improved robustness against further chnages
06/22/08 - Fixed to support updated GCal source
05/28/08 - Added Time summarization by tag and "subtags",Fixed to support updated GCal source
04/02/08 - Fixed to support updated GCal source
02/19/08 - Fixed to support updated GCal source
01/12/08 - Refactored code and made on/off state persistent on refresh
12/28/07 - Fixed to support updated GCal source
11/11/07 - Fixed to support updated GCal source, added support for all day events
10/24/07 - Fixed to support updated GCal source
09/23/07 - Refactored code and added menu option to choose "!" or "#" as the tag prefix
09/09/07 - Fixed to support updated GCal source
16/07/07 - Fixed refresh bug
15/07/07 - Fixed to support updated GCal source
23/06/07 - Added support for gcal over SSL