1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

Better input in lists by notification buttons.

This commit is contained in:
kkapsner 2015-05-11 10:45:04 +02:00
parent 9aff165a68
commit dc38d922c3
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -173,7 +173,7 @@
label: _("ignorelistDomain"),
accessKey: "",
callback: function(){
prefs.ignoreList += "," + domain;
prefs.ignoreList += (prefs.ignoreList? ",": "") + domain;
prefService.set("extensions.CanvasBlocker@kkapsner.de.ignoreList", prefs.ignoreList);
updateIgnoreList();
}
@ -182,7 +182,7 @@
label: _("whitelistURL"),
accessKey: "",
callback: function(){
prefs.whiteList += "," + url;
prefs.whiteList += (prefs.whiteList? ",": "") + url;
prefService.set("extensions.CanvasBlocker@kkapsner.de.whiteList", prefs.whiteList);
updateWhiteList();
workers.forEach(checkWorker);
@ -192,7 +192,7 @@
label: _("whitelistDomain"),
accessKey: "",
callback: function(){
prefs.whiteList += "," + domain;
prefs.whiteList += (prefs.whiteList? ",": "") + domain;
prefService.set("extensions.CanvasBlocker@kkapsner.de.whiteList", prefs.whiteList);
updateWhiteList();
workers.forEach(checkWorker);