adds read me and license
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Suppress GCal Alerts
|
||||
|
||||
A minimal Chrome extension that silences `window.alert()` calls on Google Calendar.
|
||||
|
||||
## Files
|
||||
|
||||
- `manifest.json` — extension configuration
|
||||
- `background.js` — registers the content script into the page's main JS context
|
||||
- `suppress.js` — overrides `window.alert` with a no-op
|
||||
|
||||
## Installation
|
||||
|
||||
1. Clone or download this folder.
|
||||
2. Go to `chrome://extensions` and enable Developer mode.
|
||||
3. 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.
|
||||
Reference in New Issue
Block a user