From caf0e88a35bcbad8a0e555467b7404f82a54b3c8 Mon Sep 17 00:00:00 2001 From: jspenguin2017 Date: Sat, 30 Mar 2019 14:51:34 -0600 Subject: [PATCH] update whitelist --- src/content/rules-common.js | 85 ++++++++++++++++++++++++++----------- 1 file changed, 60 insertions(+), 25 deletions(-) diff --git a/src/content/rules-common.js b/src/content/rules-common.js index 46556e2ca7..218b4f6351 100644 --- a/src/content/rules-common.js +++ b/src/content/rules-common.js @@ -40,28 +40,54 @@ // ------------------------------------------------------------------------------------------------------------- // const domCmpWhitelist = [ + + // --------------------------------------------------------------------------------------------------------- // + // Local network "127.0.0.1", + "local", + + // Reserved TLDs + "example", + "invalid", "localhost", + "test", + + // --------------------------------------------------------------------------------------------------------- // + + // Baidu + "baidu.com", // Google "google.it.ao", "google.ne.jp", "google.off.ai", - "youtu.be", - "youtube.com", - // Baidu - "baidu.com", + // PayPal + "paypal.com", + "paypal.me", + + // Twitch + "twitch.tv", // Wikipedia "wikipedia.org", - // PayPal - "paypal.com", - "paypal.me", + // YouTube + "youtu.be", + "youtube.com", + + // --------------------------------------------------------------------------------------------------------- // + + // Advanced tools (for performance) + "lab.wolframcloud.com", - // JavaScript playgrounds + // Image hosts (for performance) + "flickr.com", + "imgbox.com", + "imgur.com", + + // JavaScript playgrounds (for performance) "ask.com", "jsbin.com", "jsfiddle.net", @@ -70,7 +96,13 @@ "stackoverflow.com", "w3schools.com", - // Social sites (for performance) + // Media sites (for performance) + "calm.com", + "vimeo.com", + "xemvtv.net", + "yandex.ru", + + // Social networks (for performance) "bufferapp.com", "chatango.com", "facebook.com", @@ -81,23 +113,10 @@ "reddit.com", "twitter.com", - // Media sites (for performance) - "calm.com", - "vimeo.com", - "xemvtv.net", - "yandex.ru", - - // Image beds (for performance) - "flickr.com", - "imgbox.com", - "imgur.com", - - // Advanced tools (for performance) - "lab.wolframcloud.com", + // --------------------------------------------------------------------------------------------------------- // - // Handled by Nano Defender Extra + // Handled by a special private extension "boost.ink", - "lolalytics.com", // False positives "anandabazar.com", @@ -118,6 +137,7 @@ "kissasian.ch", "lcpdfr.com", "lemonde.fr", + "lolalytics.com", "o2.pl", "ostrzeszowinfo.pl", "pokyun.tv", @@ -147,13 +167,21 @@ "paraedu.id", "rmcmv.us", "yuukithemes.com", + + // --------------------------------------------------------------------------------------------------------- // + ]; const domIncWhitelist = [ + + // --------------------------------------------------------------------------------------------------------- // + // Local network "192.168.0", "192.168.1", + // --------------------------------------------------------------------------------------------------------- // + // Google "google", "google.co", @@ -162,14 +190,21 @@ // Yahoo "yahoo", - // Stores + // --------------------------------------------------------------------------------------------------------- // + + // Stores (for performance) "amazon", "ebay", + // --------------------------------------------------------------------------------------------------------- // + // False positives "9anime", "italiashare", "kissanime", + + // --------------------------------------------------------------------------------------------------------- // + ]; // ------------------------------------------------------------------------------------------------------------- //