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:
parent
9aff165a68
commit
dc38d922c3
Binary file not shown.
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user