Skip to content

Instantly share code, notes, and snippets.

Created July 12, 2013 19:00
What would you like to do?
Userscript to replace iCal downloads on with links to Google Calendar's event creation page
// ==UserScript==
// @match*
// ==/UserScript==
(function() {
var icals = document.getElementsByClassName("ical");
for (var i = 0; i < icals.length; i++) {
icals[i].href = '' + encodeURIComponent(icals[i].href);
Copy link

mrw34 commented Jul 18, 2013

For Chome and Firefox installation instructions see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment