From fd1ad16688b9081e2e722d9743ba14a0d594df52 Mon Sep 17 00:00:00 2001 From: dthung1602 Date: Sun, 15 May 2022 15:18:52 +0700 Subject: [PATCH] Small UI change --- popup/popup.css | 11 +++++++++++ popup/popup.html | 14 +++++++++++--- scripts/clean-spams.js | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/popup/popup.css b/popup/popup.css index 9994022..e393bcb 100644 --- a/popup/popup.css +++ b/popup/popup.css @@ -76,6 +76,17 @@ textarea { min-height: 90px; } +label a { + font-size: 0.95rem; + text-decoration: none; + color: white; + font-style: italic; +} + +label a:hover { + text-decoration: underline; +} + .button-container { display: flex; justify-content: center; diff --git a/popup/popup.html b/popup/popup.html index b53dedd..b57d9d3 100644 --- a/popup/popup.html +++ b/popup/popup.html @@ -58,10 +58,18 @@
-
diff --git a/scripts/clean-spams.js b/scripts/clean-spams.js index 7b61b60..57cc87c 100644 --- a/scripts/clean-spams.js +++ b/scripts/clean-spams.js @@ -8,7 +8,7 @@ function containBanDomain(node, banDomains) { if (text.match(regex)) { return true; } - } else if (text.includes(domain)) { + } else if (text.includes(domain.toLowerCase())) { return true; } }