Forked from termi/crossBrowser_initKeyboardEvent.js
Last active
April 4, 2019 12:16
-
-
Save kerkenit/5077e299e9704c9eb1d45d89a714b34f to your computer and use it in GitHub Desktop.
Go to today in Google Calendar
This file contains hidden or 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 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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go every 100 decodes to today in Google Calendar on the browser.
Use full for TV.
Tested in Google Chrome 73 on a Mac
I used https://chrome.google.com/webstore/detail/javascript-injector/djnjegpffahmfpjdlkciiecmeaebghlk
Match patern: ://calendar.google.com/