Created
March 24, 2023 12:36
-
-
Save blood72/3728242502a61fda41e338c5da13e36a to your computer and use it in GitHub Desktop.
click today for check schedules
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
// ==UserScript== | |
// @name Google Calendar Today | |
// @description click today for check schedules | |
// @version 1.0.0 | |
// @match https://calendar.google.com/calendar/u/0/r?tab=mc&pli=1 | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
setTimeout(function () { | |
if (document.querySelector('a[aria-label*="Google 계정"]')) { | |
let interval = setInterval(function () { | |
let todayButton = document.querySelector('button[aria-label*="오늘"]'); | |
if (todayButton) { | |
todayButton.click(); | |
clearInterval(interval); | |
} | |
}, 1000); | |
} | |
}, 500); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment