From 363697d6d3e3f60856f425f751062ea52a6d35ae Mon Sep 17 00:00:00 2001 From: blackstormx Date: Wed, 29 Jul 2020 16:00:48 +0400 Subject: [PATCH] save --- background.js | 28 +++++++++++++++++++++++++--- icon128.png | Bin 0 -> 25131 bytes logo.png => icon16.png | Bin 16768 -> 16911 bytes icon48.png | Bin 0 -> 18665 bytes manifest.json | 7 ++++++- popup.html | 35 +++++++++++++++++++++++++++++------ 6 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 icon128.png rename logo.png => icon16.png (91%) create mode 100644 icon48.png diff --git a/background.js b/background.js index fdd9819..4ed16c9 100644 --- a/background.js +++ b/background.js @@ -21,11 +21,33 @@ const container = document.getElementById("container"); const customSloganTextbox = document.getElementById("customSlogan"); const addSlogan = document.getElementById("add"); -customSloganTextbox.onkeyup = () => { - updateUserBannedList(customSloganTextbox.value); +const customBanWord = document.getElementById("customBanWord"); +const set = document.getElementById("set"); + +chrome.storage.sync.get("customBanWord", function(items) { + customBanWord.placeholder = "Current: " + items.customBanWord; +}); + +set.onclick = () => { + chrome.storage.sync.set({ customBanWord: customBanWord.value }, function() { + customBanWord.placeholder = "Current: " + customBanWord.value; + customBanWord.value = ""; + }); +}; + +customSloganTextbox.onkeyup = e => { + if (e.keyCode == 13) { + addNew(); + } else { + updateUserBannedList(customSloganTextbox.value); + } }; addSlogan.onclick = () => { + addNew(); +}; + +function addNew() { const customSlogan = customSloganTextbox.value.toLowerCase(); if (!customSlogans.includes(customSlogan)) { customSlogans.push(customSlogan); @@ -35,7 +57,7 @@ addSlogan.onclick = () => { updateUserBannedList(""); }); } -}; +} function updateUserBannedList(filter) { filter = filter.toLowerCase(); diff --git a/icon128.png b/icon128.png new file mode 100644 index 0000000000000000000000000000000000000000..cb2e0fea4a48bbf6b67d966f07f947fc265de047 GIT binary patch literal 25131 zcmeI41zc3y_vivD~MNX!D1=I8>XY8feQeDP4xX236P#i1^}RtSF*DW)A*>g$QBY*O zJe6)^qM$%7hu?pkpPzpp zqU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5j8#{14Q56WAKMg% zDPGZerV(_T?4ZKb?d9gqkq_16K*6_0puG)YMtV_9R0VW3QUni@(yS>K(`!Z(V)nwH z0D={f@#$Ifw$hRRhR5S$vjwLx{4&nv)SJN3C?1|9`Dlhd!i4nk0)b)((QBu26<@XG zYK@97qwVZ!N9#&Jj4U?Fnq2je>}IhjnOhNDx{$QU zDrV*)hx(M9PSPEuj05cJXuJ=BS(!W6f$I9I+e09Xg~0gW>xh3OpwqsEn^wZ6{3>M7 zj)a24H9Xr6T%=-LBAt`~#F34o36g%y6w4#LQTJMn62w|+3yM@u9t$pS8ur~(kibJl ztt*pOB33r&QyxzZtq*Pr@bCVFG1yt5ZNpiD1Xf7BUVlmuTchJ)ZT^^!yicEjjsQ2Q zNVSl|1vrOe@Io4~uO7XXlh-TJ0qL;PKg7`r>oZZ)O#Nj2IJ5Ru#2vDzGIKd4a;)r( z=kEpf=_RiQb4mvjldwkd=$BO<o0H! zv9Jn>N=#(vqOE_bn^XZWkFMoWyj43QD=YD}-4aFS+$+GWj_JtvE}2~uM&zk>n)h}=IR^6C--Hg<3v*> z8&&RUscG2p#+Mh0!^B7IY>mOT*FOlVQDrA)3TD4ImJIaSeI(ef*=5!{H!YIX`3*D} z86ia-G+7yX_0zrj{mp3=y9_sQ_U_~E7$4bBISu>8uS`vaH_z|@DqGV72Jbr%|LXz( OP?A%Vt&qNZ|9=38X%cY& literal 0 HcmV?d00001 diff --git a/logo.png b/icon16.png similarity index 91% rename from logo.png rename to icon16.png index 546064ec0f784195477042e155b5d70fd23875dc..5623b6ca892c99a9d1704d7809367f4c612eb1bc 100644 GIT binary patch delta 762 zcmZo@X6$caRO}4!bLZuf;$mQ6;Pv!y2?EjrAk4u6B)9%Df3;E3nwiN~adRAVJu{bO zh@q*KiLsT5;pFFRHppCEc57t|~F7M@8ap=7*cU7XQHFV;X;w)`~TnnciU0>@6I!>_ z|GKvNYwdea17*cW?-rRSevhqrf8BQKuAr4aByV%PHG8JoP_X~I{?+!S&-W+BFVdQ&MBb@0RQG3$^ZZW delta 766 zcmeBgVQgq-RO}4!bLZuf;$mQ6;Pv!y2?El>Ak4u6ByU9ibKj_F&CF!|a&sJWJu{a@ zh@qL4fw7gL>E!2ZHppCEc57wB#8kt?BugXRlw=bFUGp>(V_i!_V^iJ4~1Q?21%wysYZ#qDF(?Vx`u|SiMp1SW+}R<=E)|eCdme7$(CuGzp^*85M|_1|kI9T8 zZS&v%UgjzOEq(HuIlWC1R&!>(bdBRUtKp?|QeoHh6$_f24zYCREpAb`q@eZk{A?vv zroy#37esW{gj~C#quu0NBE0oync-9=+xKT5ewcH(I&SggsWoaYimy8-pN{x=_s!gm zi@w(`4s0{{VC<=7#?Wk0udPwQ<`?(5Z|9NVxZ^SVy4tV3RrvgL@oZ_6kE`EpxpXvM zYx@4(>DhKqWg5(XynGa!{L%hIQ`E9sMcX$s=UsGJa&5CpOF+UZJ6qOsm*$t&6lQQq zcFQ`g{<1AqKIW-w@+^TmR)->b&23ou7#huZvD)PmGFC4J27O1vr}{Ztl)`# zr_@@!u9h8>(U3Ur_wNpS&O%X+HZwymw!o1q1-b6Sk}%4d%!ZmLf`?E2zgzm&y6(VFJd&d;yZ6)<1fFn`^g zYcrQF^s3F$JIEXw5_oFzp63(K{9h3D^}dcGv-z~iESqb7L|&{plUIIT(lF=7jkf7+ z|6-S~i+`7Ds^+FDaJX@HX~ia`(9S)HzmG*~rQ$iB}{Wd?T diff --git a/icon48.png b/icon48.png new file mode 100644 index 0000000000000000000000000000000000000000..c492ee3fa870ef8d798d6e61bc61a0b175f0ec67 GIT binary patch literal 18665 zcmeI4dss~C_rQlj5|Kj}x9J|5=04L*Q%Om;QEF0AX)e1=nv1!ZN=40y6Gv3iy^c$W z631~wN=V41NJwr`bUP(FNYrmn(Phg#=lA=a-}8IE&oldZX7*n1de>U}{k-d4@9aPJ z#JR0lK2=pm6$XP%b#$-GB-Dxd*l2@E$tcFxn)t= z(L1BlqGg9J`fO1d8eX*9^AQdJvkazmhS6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pc80w)_{g zqk6;9C87e@WtVCyak`Ox|5gTNiBZ$)g$68ATYmUn=Tp58{QX?-`XRDRVpOC*Yx}o7 zLtU;NKPO;P%u9pl$T^L+?Z$YI^o6Fs0Jame3acWGMcrPHcR0ZapQpGz2h@n77_imdGp#{(964(&UIgEYTT5(A*raQ3SH+rH^dXH2W=`d#`LTQ|{^-5L9@oxqfc&=&0r&qsGoxz?+7$>i7! z=E2a@Cwy(_Mq4n`1p7p0#^d`+o|)_KqCCHGAOkBR-=6hyJLyp1;!3-K2=zI!_H5%^ zL6IM|c>b5|=I>y$#h+s}_eA=9IlxDYOHxZt6{A1xR#DcNypVI%Ijo1(Mt|AvSAVFg zvX7cA*nZ$V=R(%m^!W9F-V814<39fJE0Bj1f%?~Vbx|&6f~Hc!e4G?cRhEh^cK+4GNkimS2#QbNn$s2bnR}-Dm;HZwo=ZeF zCic|b&G*M}V*{nwiapsgD|eQ$qP36cq#g~NHaFy_`QwYO=eD#kSw9ENG`S~B^se&2tZB1aiJvXHE{ubz<{sfq Uok)}YnGwu!*$TVkO9Nv53l0~78~^|S literal 0 HcmV?d00001 diff --git a/manifest.json b/manifest.json index b144788..47f4155 100644 --- a/manifest.json +++ b/manifest.json @@ -14,5 +14,10 @@ "browser_action": { "default_popup": "popup.html" }, - "permissions": ["activeTab", "storage"] + "permissions": ["activeTab", "storage"], + "icons": { + "16": "icon16.png", + "48": "icon48.png", + "128": "icon128.png" + } } diff --git a/popup.html b/popup.html index c7401be..8526cf3 100644 --- a/popup.html +++ b/popup.html @@ -35,21 +35,21 @@ .h { color: whitesmoke; font-size: 0.8em; - margin-bottom: 10px; - display: inline-block; - padding: 0 15px; + display: block; + padding: 10px 15px; + background: rgb(0, 0, 0); } #page1 > .list { height: calc(100% - 80px); } #page2 > .list { - height: calc(100% - 120px); + height: calc(100% - 220px); } .list { overflow: auto; max-height: 200px; font-size: 0.75em; - min-height: 20px; + min-height: 50px; margin-bottom: 10px; } .list > span { @@ -64,7 +64,7 @@ display: inline-block; } .list > span:nth-child(2n) { - background: rgb(34, 34, 34); + background: rgb(46, 46, 49); } .list > span > span:first-child { flex-shrink: 0; @@ -117,6 +117,7 @@ display: flex; margin-left: 15px; margin-bottom: 10px; + margin-top: 10px; } .textbox input { background: rgb(241, 241, 241); @@ -133,6 +134,18 @@ outline: none; font-size: 20px; } + #customBanWord { + width: 180px; + } + #set { + font-size: 0.9em; + background: rgb(250, 225, 83); + color: rgb(51, 51, 51); + } + #set:hover { + color: black; + background: rgb(180, 159, 38); + }
@@ -145,6 +158,16 @@
+ Replacement word: + + + + + Add your own banned slogans: