The Un-Official Proxomitron Forum
blockadock.com script - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Privoxy (/forumdisplay.php?fid=49)
+--- Thread: blockadock.com script (/showthread.php?tid=2258)



blockadock.com script - kik0s - Jan. 12, 2016 02:11 AM

http://blockadblock.com/adblocking/blockadblock-update-2-5-available/

some one a solution for this one?


RE: blockadock.com script - cattleyavns - Jan. 12, 2016 03:41 AM

Hi.
Can you try to use this Userscript ? It could block blockadblock.com: https://greasyfork.org/en/scripts/735-anti-adblock-killer-reek/code#n3980

.filter:

Code:
FILTER: GM_function
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/en/scripts/9320-gm-function/code.user.js"></script>\n$1@i

FILTER: AntiAdBlockKiller
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/scripts/735-anti-adblock-killer-reek/code/Anti-Adblock%20Killer%20%7C%20Reek.user.js"></script>\n$1@i

.action:

Code:
{+filter{GM_function}}
/

{+filter{AntiAdBlockKiller}}
/



RE: blockadock.com script - kik0s - Jan. 12, 2016 10:58 AM

like i mentioned in my other posts: privoxy seems not torewrite for me. does it need something special when i am compilimg it? something in the config? i can upload my config so you can check?


RE: blockadock.com script - Faxopita - Jan. 12, 2016 01:46 PM

(Jan. 12, 2016 10:58 AM)kik0s Wrote:  like i mentioned in my other posts: privoxy seems not torewrite for me. does it need something special when i am compilimg it? something in the config? i can upload my config so you can check?

Did you set your filters in the default user.filter file or inside another one–for example, my_custom_one.filter. If so, you must also include your other .filter file in Privoxy's config file.


RE: blockadock.com script - kik0s - Jan. 12, 2016 03:10 PM

i set them into user.filter and activated them in user.action. the config is also loading them. so there is no problem with that. i guess there is a filter after which overrides it but i also tried adding the user.action and user.filter at the end to the config file. it also didnt work.


RE: blockadock.com script - Faxopita - Jan. 12, 2016 09:43 PM

Worst case scenario: retrieve latest version directly from SourceForge and reinstall Privoxy instead of using the distro's package management tool…


RE: blockadock.com script - kik0s - Jan. 12, 2016 09:58 PM

i compiled the version from scratch Smile! so i guess its something with my filters. i will try the debugging hint. maybe i will find the problem.


RE: blockadock.com script - Faxopita - Jan. 13, 2016 03:13 PM

Did you compile Privoxy with zlib support? Apparently, if built without this library, compressed content cannot be filtered. Obtained from the Privoxy manual, filter section:
  1. Compressed content can't be filtered either, but if Privoxy is compiled with zlib support and a supported compression algorithm is used (gzip or deflate), Privoxy can first decompress the content and then filter it.
  2. If you use a Privoxy version without zlib support, but want filtering to work on as much documents as possible, even those that would normally be sent compressed, you must use the prevent-compression action in conjunction with filter.
Another thing:
The amount of data that can be filtered is limited to the buffer-limit option in the main config file. The default is 4096 KB (4 Megs). Once this limit is exceeded, the buffered data, and all pending data, is passed through unfiltered.


RE: blockadock.com script - rogern - Jan. 14, 2016 11:33 AM

(Jan. 12, 2016 03:41 AM)cattleyavns Wrote:  Hi.
Can you try to use this Userscript ? It could block blockadblock.com: https://greasyfork.org/en/scripts/735-anti-adblock-killer-reek/code#n3980

.filter:

Code:
FILTER: GM_function
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/en/scripts/9320-gm-function/code.user.js"></script>\n$1@i

FILTER: AntiAdBlockKiller
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/scripts/735-anti-adblock-killer-reek/code/Anti-Adblock%20Killer%20%7C%20Reek.user.js"></script>\n$1@i

.action:

Code:
{+filter{GM_function}}
/

{+filter{AntiAdBlockKiller}}
/

This worked for me on a norwegian hardware site (largest).
It might be also that i do have a lot of filters wich sometimes influence.

The only anoying now is that this greasyfork ask about subscriptionSmile!


RE: blockadock.com script - cattleyavns - Jan. 14, 2016 03:03 PM

(Jan. 14, 2016 11:33 AM)rogern Wrote:  
(Jan. 12, 2016 03:41 AM)cattleyavns Wrote:  Hi.
Can you try to use this Userscript ? It could block blockadblock.com: https://greasyfork.org/en/scripts/735-anti-adblock-killer-reek/code#n3980

.filter:

Code:
FILTER: GM_function
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/en/scripts/9320-gm-function/code.user.js"></script>\n$1@i

FILTER: AntiAdBlockKiller
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/scripts/735-anti-adblock-killer-reek/code/Anti-Adblock%20Killer%20%7C%20Reek.user.js"></script>\n$1@i

.action:

Code:
{+filter{GM_function}}
/

{+filter{AntiAdBlockKiller}}
/

This worked for me on a norwegian hardware site (largest).
It might be also that i do have a lot of filters wich sometimes influence.

The only anoying now is that this greasyfork ask about subscriptionSmile!

You can remove that warning by adding this filter:
s@Aak\.listDetect\(\);@//Aak.listDetect();@i

Enable it on .greasyfork.org/scripts/735-anti-adblock-killer-reek.*?\.user\.js$

And open https://greasyfork.org/scripts/735-anti-adblock-killer-reek/code/Anti-Adblock%20Killer%20|%20Reek.user.js

Press Ctrl + F5


RE: blockadock.com script - rogern - Jan. 23, 2016 06:33 PM

It do not work if you try one of the articles.
The main site is OK not the articles


RE: blockadock.com script - rogern - Jan. 25, 2016 06:10 PM

Upgrade to 3.0.24 works so it had to do with my action and filterfiles.
So solvedSmile!


RE: blockadock.com script - kik0s - Jan. 26, 2016 11:39 PM

so i managed to enable the .js files. i can blockadblock.com now. but bild.de is back on track. someting is not right Banging Head

but inrun into another problem. i switched from adblock2privoxy (works with css files) to the privoxy-adblock.sh script. now it does not block that great anymore. will try that fix file faxtopia uploaded a couple days ago. maybe there is the problem.