mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
parent
5ced858173
commit
da14aaff51
7 changed files with 52 additions and 0 deletions
|
@ -36,6 +36,9 @@
|
|||
|
||||
const apiMap = new Map();
|
||||
scope.show = function showNotification(tabId, url, api){
|
||||
if (settings.ignoredAPIs[api]){
|
||||
return;
|
||||
}
|
||||
logging.notice("Show notification for tab", tabId);
|
||||
if (
|
||||
settings.get("showNotifications", url) &&
|
||||
|
|
|
@ -182,6 +182,15 @@
|
|||
name: "ignoreList",
|
||||
defaultValue: ""
|
||||
},
|
||||
{
|
||||
name: "ignoredAPIs",
|
||||
defaultValue: {},
|
||||
keys: [
|
||||
"canvas",
|
||||
"audio",
|
||||
],
|
||||
defaultKeyValue: false
|
||||
},
|
||||
{
|
||||
name: "showCallingFile",
|
||||
defaultValue: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue