From 91c9a0e0cb7a95b3a587256db1eef9bfb1595970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Tue, 8 May 2018 20:24:52 +0200 Subject: [PATCH] New rules and fixes Hopefully this fixes the bugs from #41 and #43. In addition, new rules for ebay have been added and the Amazon ad domain `fls-na.amazon.com` is now blocked. --- data/data.json | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/data/data.json b/data/data.json index 59a1444..2f3580e 100644 --- a/data/data.json +++ b/data/data.json @@ -15,7 +15,6 @@ "ms3_c=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "[a-zA-Z%0-9]*ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "refRID=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "psc=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "colid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "coliid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "adId=[^\\/|\\?|&]*(\\/|&(amp;)?)?", @@ -27,6 +26,13 @@ ], "redirections": [] }, + "fls-na.amazon": { + "urlPattern": "(https:\\/\\/||http:\\/\\/).*(fls-na\\.amazon\\.).*\\/.*", + "completeProvider": true, + "rules": [], + "exceptions": [], + "redirections": [] + }, "google": { "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?google\\.).*\\/.*", "completeProvider": false, @@ -113,7 +119,9 @@ "\\?$", "\\&$" ], - "exceptions": [], + "exceptions": [ + ".*([\\.]?matrix\\.org)(\\/_matrix)\\/.*" + ], "redirections": [] }, "adtech": { @@ -284,6 +292,15 @@ ], "exceptions": [], "redirections": [] + }, + "ebay": { + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?ebay\\.)\\w{2,}\\/.*", + "completeProvider": false, + "rules": [ + "_trkparms=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + ], + "exceptions": [], + "redirections": [] } } }