Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
gDate2Cal 0.1
Userscript to replace dates in gmail with links to google calendar
This userscript recognizes dates and replaces them with links to Google Calendar. So, suppose someone sends you an invitation for a particular date, it will be transformed to a link to that day in Google Calendar.

Currently the following date formats are supported (more to come, write down your (language-specific) requests in the comments!):
English
September 1st (Year will be determined)
September 1st 2009
2007-09-01
2007/09/01
Dutch
1 September
1 September 2007
|
|
I modified the first few lines to add italian, then I got too lazy, seeing how hard would have been for me to add the date format suggested by Ash...
var aRegExpMonthsEn = 'January|February|March|April|May|June|July|August|September|October|N var getMonthByStr = function(strMonth) {
|
|
|
This is definitely a helpful script, is there a way to prevent the script from converting dates in links though? I find that url's containing dates become "broken" causing email newsletters etc, to be jumbled like this... Manuel Amador has detailed why he believes 2007/12/11/removal-of-ogg-vorbis-and-theora-from-html5-an-outrageous-d Thanks |
|
|
How about (UK style):
|
You could comment on this script if you were logged in.
