Skip to content

Instantly share code, notes, and snippets.

View kerkenit's full-sized avatar

Kerk en IT kerkenit

View GitHub Profile
@kerkenit
kerkenit / RefreshGoogleCalendar.js
Last active April 4, 2019 12:16 — forked from termi/crossBrowser_initKeyboardEvent.js
Go to today in Google Calendar
function getElementByXpath(path) {
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}
setInterval(function() {
getElementByXpath('//*[@id="gb"]/div[2]/div[2]/div[1]/div/div/div[1]/div/div[1]').click();
}, 100000);