From 1949d41ac6fbd92f248a995a25aa4c91aced2ae8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 30 Jul 2012 19:02:15 +0200 Subject: Restored Adblock moving hiding logic to the one used in kwebkitpart This will let everyone to save time reinventing the wheel and let us remove webpage from adblockmanager code, but just manage it via (Q)NAM. --- src/adblock/tests/RULES | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/adblock/tests/RULES (limited to 'src/adblock/tests/RULES') diff --git a/src/adblock/tests/RULES b/src/adblock/tests/RULES new file mode 100644 index 00000000..8dfdf8fa --- /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 -- cgit v1.2.1