Created
February 12, 2018 15:45
-
-
Save bmccormack/a478106d4b8e8bcf7be857fa8baa15a2 to your computer and use it in GitHub Desktop.
Hide Appointment Events on 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
// This is really weird. It works, but only after I "inspect element" on an element on the page. I have no idea | |
// why it doesn't work until I do that. ¯\_(ツ)_/¯ | |
document.querySelectorAll('.DPvwYc.H8Utbd').forEach(function(e){console.log(e.parentNode.parentNode.parentNode.style.display='none')}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment