initial commit

This commit is contained in:
Timothy Kim
2026-02-27 13:25:04 -05:00
commit 283524abd9
3 changed files with 21 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
chrome.runtime.onInstalled.addListener(async () => {
await chrome.scripting.unregisterContentScripts({ ids: ["suppress-alert"] }).catch(() => {});
await chrome.scripting.registerContentScripts([{
id: "suppress-alert",
matches: ["https://calendar.google.com/*"],
js: ["suppress.js"],
runAt: "document_start",
world: "MAIN"
}]);
});
+10
View File
@@ -0,0 +1,10 @@
{
"manifest_version": 3,
"name": "Suppress GCal Alerts",
"version": "1.0",
"permissions": ["scripting"],
"host_permissions": ["https://calendar.google.com/*"],
"background": {
"service_worker": "background.js"
}
}
+1
View File
@@ -0,0 +1 @@
window.alert = function() {};