Created
June 26, 2017 13:17
-
-
Save mig82/ab620115feed8227c7e42febe1861ac0 to your computer and use it in GitHub Desktop.
Get a shareable link of a Google calendar from its Edit Details screen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
try { | |
window.prompt('Shareable link to this event:', 'https://www.google.com/calendar/event?eid=' + document.getElementsByClassName('ep')[0].getAttribute('data-eid')) | |
} catch (e) { | |
alert("Use this bookmarklet to get a shareable link to a Google Calendar event when editing its Details page.") | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment