Bookmarklet to Create a Google Calendar Event from Title and Hours

Wife of Villon
1 min readOct 22, 2017

--

Hi, admirals or sages(saniwa)! Today, I’d share a tiny script help your game playing.

WoVBookmarklets/AddGoogleCalendarByTime(GitHub)

Usage

At first, create new bookmark on your web browser. And copy and paste the raw source.

If you click that, system dialog will open. Input event title (eg. “長曽祢虎徹極修行”) and click “OK”. It’ll ask you how long time after create the event (eg. “96”).

System Dialog

This script will open Google Calendar page on new tab (set event title and date).

Google Calendar

About Script

  1. Get current time
  2. Calculate the date
  3. Create and open URL

https://calendar.google.com/calendar/render?action=TEMPLATE&text={event_title}&dates=yyyyMMddThhmmss/yyyyMMddThhmmss

If you wanna read dev. version source, see develop.

--

--

Wife of Villon

A lazy housewife / My name comes from the work of a Japanese novelist