Skip to content

Instantly share code, notes, and snippets.

@chrisranderson
Last active October 10, 2022 15:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisranderson/e62d844000b3f4e13e485e89ee4a2581 to your computer and use it in GitHub Desktop.
Save chrisranderson/e62d844000b3f4e13e485e89ee4a2581 to your computer and use it in GitHub Desktop.
Hide names of appointments in google calendar
document.styleSheets[0].insertRule('span.evt-lk, .cloc, .rem-done, .rb-ni, .cbrdcc {color: rgba(255, 255, 255, 0) !important;}', 1)
// thanks to David Walsh: https://davidwalsh.name/add-rules-stylesheets
/*
Bookmarklet of this code generated by http://mrcoles.com/bookmarklet/
javascript:(function()%7Bdocument.styleSheets%5B0%5D.insertRule('span.evt-lk%2C%20.cloc%2C%20.rem-done%2C%20.rb-ni%2C%20.cbrdcc%20%7Bcolor%3A%20rgba(255%2C%20255%2C%20255%2C%200)%20!important%3B%7D'%2C%201)%7D)()
*/
@chrisranderson
Copy link
Author

Here's what it looks like. These appointments had titles, but the script makes the text transparent.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment