From 1af5fc922877a5ec4db5dfa068b0e88c55fdc1c7 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 14 Jan 2010 03:28:15 +0100 Subject: Better AdBlocking things :) --- src/adblock/tests/RULES | 19 +++++++++++++++++++ src/adblock/tests/divhidingtest.html | 15 +++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/adblock/tests/RULES create mode 100644 src/adblock/tests/divhidingtest.html (limited to 'src/adblock/tests') diff --git a/src/adblock/tests/RULES b/src/adblock/tests/RULES new file mode 100644 index 00000000..ee8485a6 --- /dev/null +++ b/src/adblock/tests/RULES @@ -0,0 +1,19 @@ +! cancel ALL your rules in the adblock, +! load these and test rekonq against +! the proposed sites +! Good Luck! +! +! This rule will block EVERY site containing adv +adv +! +! This one will wildcard EVERY site containing the word "advice" +@@advice +! +! Block every google site :) +|http://google* +! +! Block every pdf file! +*pdf| +! +! Block every div of the class "advise" +##div.advise \ No newline at end of file diff --git a/src/adblock/tests/divhidingtest.html b/src/adblock/tests/divhidingtest.html new file mode 100644 index 00000000..a38e9ea1 --- /dev/null +++ b/src/adblock/tests/divhidingtest.html @@ -0,0 +1,15 @@ + + + + + + + +
+

Oh oh.. an advise!!

+
+

no advises here :)

+At least, I hope so... + + + \ No newline at end of file -- cgit v1.2.1