Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Google Calendar Show Week

Show week numbers in Google Calendar.

A script that adds week numbering in Google calendar.
Supports prefix before number.
Supports ISO 8601 week numbering.

Configuration

Change this line:
var dowOffset = 1;
to change the day which your week "starts" on. 0 = sunday, 1 = monday, etc. Default is 1 = ISO 8601 week number.

var weekprefix = "w";
to change week prefix.

span.style.color = "#f00";
to change color.

Recent updates

- 20070523: Added some more listeners.
Initial release.

Comments

This is my first userscript. Thanks to LouCypher, alien_scum, Joel H and Arvid for helping me out :)




Oct 20, 2007
svetlanaaa User

works well for the monthly view.
My user defined view is "the next 3 weeks" and I noticed that the week number of the 1st week is wrong if I use this view (2nd and 3rd weeks are ok). I am not familiar with scripts. Can you update or tell me what I should change?

 
Jul 23, 2007
recover Scriptwright

Not to poke on this script, it is indeed very useful.
I just want to make you aware of another solution to this problem: http://recover89.googlepages.com/googlecalendar...
It's not related to greasemonkey or your browser so it should work with whatever computer you use.
Thanks. :D

 
Jul 12, 2007
Pieter User

It's a very nice script. However, I use a custom view showing four weeks ahead. The script apparently doesn't like that. The first week is five weeks behind. The other three weeks are shown correctly. So, for example, currently it shows the current week as week 23, then come weeks 28, 29 and 30.
Could this perhaps be fixed in a new release?

 
Jun 7, 2007
hebbet Scriptwright

Nice Script

 
May 23, 2007
LouCypher Scriptwright

Wow! Good work.

You could comment on this script if you were logged in.