1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-01-03 10:31:54 +01:00

Disabled "whitelist URL" in notification

Referres to #28
This commit is contained in:
kkapsner 2015-05-11 10:47:50 +02:00
parent dc38d922c3
commit d1cf450ce5
2 changed files with 10 additions and 10 deletions

Binary file not shown.

View File

@ -178,16 +178,16 @@
updateIgnoreList(); updateIgnoreList();
} }
}, },
{ // {
label: _("whitelistURL"), // label: _("whitelistURL"),
accessKey: "", // accessKey: "",
callback: function(){ // callback: function(){
prefs.whiteList += (prefs.whiteList? ",": "") + url; // prefs.whiteList += (prefs.whiteList? ",": "") + url;
prefService.set("extensions.CanvasBlocker@kkapsner.de.whiteList", prefs.whiteList); // prefService.set("extensions.CanvasBlocker@kkapsner.de.whiteList", prefs.whiteList);
updateWhiteList(); // updateWhiteList();
workers.forEach(checkWorker); // workers.forEach(checkWorker);
} // }
}, // },
{ {
label: _("whitelistDomain"), label: _("whitelistDomain"),
accessKey: "", accessKey: "",