mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
Added proference to disable notifications
This commit is contained in:
parent
a2853455d0
commit
b6ac2248f3
5 changed files with 11 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
|||
case "fake":
|
||||
|
||||
var contentURL = new URL(worker.contentURL);
|
||||
if (!ignoreList.match(contentURL)){
|
||||
if (prefs.showNotifications && !ignoreList.match(contentURL)){
|
||||
var url = contentURL.href;
|
||||
var domain = contentURL.hostname;
|
||||
var message = _("fakedReadout").replace(/\{url\}/g, url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue