initial commit
This commit is contained in:
10
background.js
Normal file
10
background.js
Normal 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"
|
||||
}]);
|
||||
});
|
||||
Reference in New Issue
Block a user