Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@chrisranderson chrisranderson commented Mar 4, 2017

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