From dc38d922c32c9498fbf7b642fff7475d7a7a5b7c Mon Sep 17 00:00:00 2001 From: kkapsner Date: Mon, 11 May 2015 10:45:04 +0200 Subject: [PATCH] Better input in lists by notification buttons. --- canvasblocker.xpi | Bin 29223 -> 29237 bytes lib/main.js | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/canvasblocker.xpi b/canvasblocker.xpi index 3dbf44970eeed03ad44f2e3f968da4de7c243379..4f921c5abeb85c15efbfe42efae2c6b6061e906d 100644 GIT binary patch delta 3455 zcmV-_4S@2ewh0S!<~0|XQR000O8(p0Ol4U``P(p0Onq#ua_1JYEhvoIp!ISr~* zt43ngHD1&Q0069$A6!6xY(3J!SkeSJniXjf&=PHNmPL)E;(D9^_dOnxNJ(jTWWbEp zvG@-1{oYB%2WXYE1Npn#0o>eHp1!4<{Df}r2!V+atmeV-inB61BS1~A! zVY@ie_Jqr-NF-%NIR5?VlTlC!g49Nd3})~Q|L!qIg5*ndh&cJRqMU?*NY}Ai3&u0c zQQ{RjVQH61EkECXu(V~woa0@Wt&%j4HO0}$$&zqVBt-PKrkgS+&lQL81uh7`2UvT@ zXm!E4HH$B&ws4pty;d_^ogeoO%=2Iz0iou(>vH7Zep3L;ipZKp;>8u%*|P@Lg+{>G zQbV3$PSQ8lJDyM!cZkt14h*p4Yqo(HI47&4kL5AM4G4FCB?h>Zf;e_zfQ3^X($Sji zM5sX-M@zB6Q3N8nK{f)u8;|@#iAP$@&2!Ue+|L ztl|Bn5e-*=#|TH;kP(g8Lq>GuT_fnKVEiFh%p0Or*K&W-j+U)sh^uhOl2-5`Q@R>V zO!eX%K`0_xs7QzEs_JRK20@XZ*BpoFCJ-6hzQTD_!NI3&d-nRxD_q<| zTmJfgYh?9836Ee(kfe~8yOKm3EWs7=hqz3aU&VAh)@o{BsDr}Uf~wF+1Qv1qO>$_! zKA(rR%iHtmMq_HvD%Ph(zB`5Jv945Ki8>exZGesJWE16V6$VF~LmKGBfyhMxdWKrq z;31gmHL#8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P!BGNrjgf(l$1-LdYbB^~=NTuP_+m zhoXH)3H(M#)gQqRb8oVGGI3wtBe}nJQU15dYI%Q!n!|k;yo4Xg`Z?ECNw*|#!heyX z8}CWp-9>n$25Fz<2HIM#3^wJDJO*D(8`oE*dy&7VEH?=*&o7!M&_EBmY0^9*2p0sQ z->PH$^ZDR`afYPi%jf(y$EV`o`*%+*RzhxeKctZd!}C*h(|MHJS5hW*r}nS^0Z>Z; z0u%rg0000806V{?Mm#LLTaTWoulL&Gr2F+{$0000H CnTKBh diff --git a/lib/main.js b/lib/main.js index 555b524..890cc0d 100644 --- a/lib/main.js +++ b/lib/main.js @@ -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);