From b996dacf100ff03d82c15808b1897c7c2b434b36 Mon Sep 17 00:00:00 2001 From: Stian Lund <1493836+Pathduck@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:30:22 +0200 Subject: [PATCH] add adblock-rules --- test/adblock-rules/adblock-filters.txt | 5 ++++ test/adblock-rules/index.html | 41 ++++++++++++++++++++++++++ test/adblock-rules/third-party.html | 14 +++++++++ test/index.html | 3 +- 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100755 test/adblock-rules/adblock-filters.txt create mode 100644 test/adblock-rules/index.html create mode 100755 test/adblock-rules/third-party.html diff --git a/test/adblock-rules/adblock-filters.txt b/test/adblock-rules/adblock-filters.txt new file mode 100755 index 0000000..0615ba8 --- /dev/null +++ b/test/adblock-rules/adblock-filters.txt @@ -0,0 +1,5 @@ +! Title: Adblock Filters NEW (personal) + +! Third-party blocks +*^$third-party,domain=stian.sdf.org + diff --git a/test/adblock-rules/index.html b/test/adblock-rules/index.html new file mode 100644 index 0000000..87cc139 --- /dev/null +++ b/test/adblock-rules/index.html @@ -0,0 +1,41 @@ + + +
+ + + +
+ ..
+[ 99 Sep 24 14:28] adblock-filters.txt
+[ 350 Sep 24 13:36] third-party.html
+
+
+
+0 directories, 2 files
+
+
Image below should be blocked as well as script loaded in the header
+ +
+
+
+
diff --git a/test/index.html b/test/index.html
index 70dab04..442a36b 100644
--- a/test/index.html
+++ b/test/index.html
@@ -29,6 +29,7 @@
..
+[ 0 Sep 24 14:29] adblock-rules
[ 0 Jul 28 2023] bookmark-title
[ 0 Aug 27 15:59] cache
[ 0 Jul 21 2023] fastforward
@@ -56,7 +57,7 @@
-22 directories, 1 file
+23 directories, 1 file