Skip to content

Instantly share code, notes, and snippets.

@IceCreamYou
IceCreamYou / Blur Google Calendar.md
Last active June 9, 2024 22:48
Blurs Google Calendar event names to make it easier to share screenshots of your availability.

Sometimes for scheduling purposes it would be nice to be able to take a screenshot of your calendar and send it to someone, but you may not want to show that someone the names of every event on your calendar. This code and bookmarklet solves that problem by blurring out event names on your calendar.

Here is the code:

var style = document.getElementById('--style') || document.createElement('style'), // <style> element holding blur/hide rules
    spans = document.querySelectorAll('[data-eventchip] span'); // This worked as of May 3, 2023 but it may change.

// Add the styles
style.id = '--style';