Suppress GCal Alerts
A minimal Chrome extension that silences window.alert() calls on Google Calendar.
Files
manifest.json— extension configurationbackground.js— registers the content script into the page's main JS contextsuppress.js— overrideswindow.alertwith a no-op
Installation
- Clone or download this folder.
- Go to
chrome://extensionsand enable Developer mode. - Click "Load unpacked" and select this folder.
Notes
The script must run in the MAIN world (the page's own JS context) to override window.alert effectively. Declaring world: "MAIN" in manifest.json has a known Chrome bug and does not work reliably, so the content script is registered programmatically from the service worker instead.
Description
Languages
JavaScript
100%