Skip to content

tomviner/unlimited-weeks-in-google-calendar

Repository files navigation

Unlimited weeks in Google Calendar Build Status

Unlimited weeks in Google Calendar icon Chrome Web Store Badge

A Chrome extension to show more than 4 weeks in Google Calendar.

Adds + and - buttons to display as many weeks as your screen can handle.

plus and minus buttons

screenshot

How this extension works:

  • wait for the toolbar to be visible
  • add 2 extra buttons to it
  • restore the main calendar's number of weeks, if custom view is active
  • these new buttons adjust the number of weeks:
    • ensure custom view is active
    • using the navigation calendar, do a double manoeuvre:
      • click next month repeatedly during a click drag over the mini calendar
      • this is how we reach more than one month
    • ensure the calendar is still on the original start date
  • use browser storage to persist the number of weeks selected