From e0026dce6ddd8424d073d2f43a427e2d1395ca89 Mon Sep 17 00:00:00 2001 From: dthung1602 Date: Fri, 20 May 2022 22:43:52 +0700 Subject: [PATCH] Small improvements --- TODO.md | 14 ++++++++++++++ build.sh | 2 +- scripts/service-worker.js | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index e69de29..71c9113 100644 --- a/TODO.md +++ b/TODO.md @@ -0,0 +1,14 @@ +# TODO + +--- + +### Bug +- Only hide parent comments if the nested spam belongs to the same FB account +- Last comment before "LoadMore" is spam + +### Feature +- New action with spam + - User input image URL + - User select image from computer + - Report spam to FB + diff --git a/build.sh b/build.sh index 81a6d0c..463f10f 100644 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ fi mkdir -p "$RAW_CONTENT" cd "$SCRIPT_DIR" -cp -r vendor scripts popup images "$RAW_CONTENT" +cp -r vendor scripts styles popup images "$RAW_CONTENT" rm -rf "$RAW_CONTENT/images/demo" cd "$RAW_CONTENT" diff --git a/scripts/service-worker.js b/scripts/service-worker.js index d48cce0..69215c2 100644 --- a/scripts/service-worker.js +++ b/scripts/service-worker.js @@ -81,7 +81,8 @@ const NEW_BAN_DOMAINS_2 = [ "mangas20.com", "dreamjob", "vyvymanga", - "mangadownloads.xyz" + "mangadownloads.xyz", + "/www[a-z0-9-.]*livejob[a-z0-9-.]*com/" ] async function migrationToVer1_2_0() {