From 27e2626dfb165a8ec7ead08fc1dfb1f05b9d8ef0 Mon Sep 17 00:00:00 2001 From: mdPlusPlus Date: Sun, 9 Apr 2023 22:18:02 +0200 Subject: [PATCH] Clean up entries of filtered communities, remove offline ones --- output/main.js | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/output/main.js b/output/main.js index 24196437..a8525983 100644 --- a/output/main.js +++ b/output/main.js @@ -22,33 +22,18 @@ import { // Hidden communities for transparency. const filteredCommunities = { tests: [ - "2e9345+c7fb", // TestRoom - "762ba9+c7fb", // TesterRoom - "b4d829+c7fb", // Test - "e5853a+c7fb", // testtest - "eu+8183", // temporary removal by request, not really a test "fishing+8e2e", // Example group from PySOGS documentation "test+118d", // Testing 1, 2, 3 - "test+13f6", // Testing room - "test+c01b", // Testing room + "test+13f6", // Testing room2 "test+fe93", // 测试(Test) "xyz+7908", // XYZ Room - "xyz+efca", // XYZ Room ], offensive: [ - "60fa60+c7fb", // "N-word" Community - "ab1a4d+c7fb", // zUnsensored Group (CSAM) - "AlexMed+e093", // + "AlexMed+e093", // drug trading? "gore+e5e0", // gore - "RU-STEROID+e093" // + "RU-STEROID+e093" // drug trading? ], - - // These communities should be checked regularly - // in case they update their PySOGS version - legacy: [ - "Ukraine+02bd" // https://reccacon.com/view/room/Ukraine - ] }; // This can be achieved with `text-overflow: ellipsis` instead @@ -89,7 +74,7 @@ function createJoinLinkButtons() { function hideBadCommunities() { let numberOfHiddenCommunities = 0; - for (const category of ['tests', 'offensive', 'legacy']) { + for (const category of ['tests', 'offensive']) { numberOfHiddenCommunities += filteredCommunities[category] .map(hideElementByID)