diff --git a/tests/config.py b/tests/config.py index 81e777d..ee5432b 100644 --- a/tests/config.py +++ b/tests/config.py @@ -4,14 +4,14 @@ content_removed = [ "ad_970x250", # class match: https://www.iphoneitalia.com/ - "MyAdsId3", # id match + "sellwild-loader", # id match ### "AdRight2", # class match with element having multiple classes - "data-ad-manager-id", # attribute match + "data-taboola-options", # attribute match ##[ "data-freestar-ad id", # combined attribute match 'data-role="tile-ads-module"', # attribute exact match 'onclick="content.ad/"', # attribute contain match 'class="adDisplay-module_foobar"', # attribute startswith match - 'href="https://www.reimageplus.com/foobar"', # attribute startswith match + 'onclick="location.href=\'https://1337x.vpnonly.site/"', # attribute startswith match ##[*^= ] content_exists = [ "ajlkl", # should exist, although one element is removed by privoxy diff --git a/tests/response.html b/tests/response.html index 69ef83d..1141553 100644 --- a/tests/response.html +++ b/tests/response.html @@ -4,14 +4,14 @@
single class should be removed
multiple classes that should be removed
multiple classes that should exist
-
id should be removed
-
name-only attibute should be removed
+
id should be removed
+
name-only attibute should be removed
combined name-only attibute should be removed
exact match attibute should be removed
1. contain match attribute should be removed
2. contain match attribute should be removed
1. startswith match attribute should be removed
startswith match attribute should be exist
-
2. startswith match attribute should be removed
+
2. startswith match attribute should be removed