Post Reply 
Add "Anti Adblock Killer list by reek" to privoxy. but how?!
Sep. 16, 2015, 06:41 PM
Post: #1
Question Add "Anti Adblock Killer list by reek" to privoxy. but how?!
Hey guys,

still me here Smile! So i have another question. Is it possible to add this list anti adblock killer by reek to privoxy? When yes, how? I dont get that option to include greasemonkey scripts to privoxy. Its not that easy to understand Smile!

Thanks a lot for feedback!
Add Thank You Quote this message in a reply
Sep. 20, 2015, 12:19 PM
Post: #2
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
Hello kik0s,

unfortunately, you can't count on me, but I believe Cattleyavns should help you on that matter. Maybe you will be patient enough to wait for his input. Good day!
Add Thank You Quote this message in a reply
Sep. 22, 2015, 05:12 PM
Post: #3
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
hi Faxopita,

ty for the reply. i found the info how to include GM_function to privoxy at the hosts file thread. it seems not to work anymore?! or there is something else what i miss?! i'll wait then for Cattleyavns reply.
Add Thank You Quote this message in a reply
Sep. 25, 2015, 04:45 PM
Post: #4
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
Hi kik0s, sorry for being late, can you show me:

- Your problem
- Which website
- And your Privoxy fitler

I need these information to analyze your problem.
Add Thank You Quote this message in a reply
Sep. 25, 2015, 10:23 PM (This post was last modified: Sep. 26, 2015 08:29 AM by kik0s.)
Post: #5
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
hi cattleyavns,

i first added this to my user.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

i replaced the "†" with "@" as you suggested in another post. but both ways did non work for me.

then i need to add the script from reek to my user.filter. it comes with the killer list. can be found here. i used this code for that:
Code:
FILTER: aakiller
s†(<(?:\/body)[^>]*?>)†$1\n\
<script src="https://greasyfork.org/scripts/735-anti-adblock-killer-reek/code/Anti-Adblock%20Killer%20%7C%20Reek.user.js" type="text/javascript"></script>\n\
†i

i also replaced the "†" with "@". but no effect there anyway.

i activated both of the filter in the match all action file or user.action file. but when i used the suggested demo for anti adblock from reek to test if the anti adblock killer is working it still shows the message that i am using an adblocker.

thanks for the reply Smile!
Add Thank You Quote this message in a reply
Sep. 27, 2015, 09:26 AM (This post was last modified: Sep. 27, 2015 09:45 AM by cattleyavns.)
Post: #6
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
I have the same result as you, maybe this script is a little bit more complex than other script, but i will try to make it work on Privoxy, because it is a very useful script.

Okay, I made this script works now! Perfect! No anti adblock popup anymore Big Teeth http://prntscr.com/8kz5qt http://prntscr.com/8kz80t
You will need another filter to fix this script ( https://greasyfork.org/scripts/735-anti-...ti-Adblock Killer | Reek.user.js ), replace these lines:
Code:
if (Aak.getScriptManager()) {
      Aak.registerCommands();
      Aak.update.automatic();
      Aak.listDetect();
      Aak.blockDetect();
    } else { // Native
      throw "Sorry! No Native support..";
    }

with:
Code:
//if (Aak.getScriptManager()) {
      Aak.registerCommands();
      Aak.update.automatic();
      Aak.listDetect();
      Aak.blockDetect();
    //} else { // Native
    //  throw "Sorry! No Native support..";
    //}

The author only allow true Greasemonkey user use this script, he tries to detect if user uses Greasemonkey or not, if not this script will not work, so just by removing those line we can bypass that limit Big Teeth
Here is my generated filter to do that, just open that URL https://greasyfork.org/scripts/735-anti-...ti-Adblock Killer | Reek.user.js and Ctrl + F5 to force reload its content because web browser cache that url.

Code:
FILTER: fixantiadblockiller
[email protected] \(Aak\.getScriptManager\(\)\) \{\s*?\
      Aak\.registerCommands\(\);\s*?\
      Aak\.update\.automatic\(\);\s*?\
      Aak\.listDetect\(\);\s*?\
      Aak\.blockDetect\(\);\s*?\
    \} else \{ \/\/ Native\s*?\
      throw "Sorry\! No Native support\.\.";\s*?\
    \}\s*?\
@//if (Aak.getScriptManager()) {\n\
      Aak.registerCommands();\n\
      Aak.update.automatic();\n\
      Aak.listDetect();\n\
      Aak.blockDetect();\n\
    //} else { // Native\n\
    //  throw "Sorry! No Native support..";\n\
    //}@i

Enable it on:
Code:
{+filter{fixantiadblockiller}}
.greasyfork.org/scripts/735-anti-adblock-killer-reek/code/
Add Thank You Quote this message in a reply
Sep. 28, 2015, 11:09 AM (This post was last modified: Sep. 28, 2015 11:14 AM by kik0s.)
Post: #7
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
hi cattleyavns,

ok. so lets start again Smile! i added this now to my user.filter:
Code:
FILTER: GM_function
[email protected](^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/en/scripts/9320-gm-function/code.user.js"></script>\n$[email protected]

FILTER: fixaakiller
[email protected] \(Aak\.getScriptManager\(\)\) \{\s*?\
      Aak\.registerCommands\(\);\s*?\
      Aak\.update\.automatic\(\);\s*?\
      Aak\.listDetect\(\);\s*?\
      Aak\.blockDetect\(\);\s*?\
    \} else \{ \/\/ Native\s*?\
      throw "Sorry\! No Native support\.\.";\s*?\
    \}\s*?\
@//if (Aak.getScriptManager()) {\n\
      Aak.registerCommands();\n\
      Aak.update.automatic();\n\
      Aak.listDetect();\n\
      Aak.blockDetect();\n\
    //} else { // Native\n\
    //  throw "Sorry! No Native support..";\n\
    //}@i

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

then i added this to my user.action:
Code:
### enable greasemonkey for privoxy
{+filter{GM_function}}
/

### enable fixer for reek
{+filter{fixaakiller}}
.greasyfork.org/scripts/735-anti-adblock-killer-reek/code/

### enable antiadblockkiller script to work with privoxy
{+filter{aakiller}}

it seems to do something (breaking some sites) but still the adblock killer pop up shows up for me.

i am using privoxy 3.0.23 with adblock2privoxy 1.3.3 on a debian jessie distro. and i restarted privoxy when i added those lines to the files Wink when i load the url to the script within my browser it does not rewrite the section. which it should rewrite.

any help would be great Smile!

in the mean time i try uploading this script to my privoxy folder and remove that line.
Add Thank You Quote this message in a reply
Sep. 28, 2015, 03:24 PM (This post was last modified: Sep. 28, 2015 03:29 PM by cattleyavns.)
Post: #8
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
>> when i load the url to the script within my browser it does not rewrite the section. which it should rewrite.

Yeah, my filter is bad coded, i will try to fix it asap, but i'm sure if it can rewrite those lines probably Anti AdBlock Killer will work.

Sorry, should be:

Code:
FILTER: fixaakiller
[email protected] \(Aak\.getScriptManager\(\)\) \{\s*?\
      Aak\.registerCommands\(\);\s*?\
      Aak\.update\.automatic\(\);\s*?\
      Aak\.listDetect\(\);\s*?\
      Aak\.blockDetect\(\);\s*?\
    \} else \{ \/\/ Native\s*?\
      throw "Sorry\! No Native support\.\.";\s*?\
    \}\
@//if (Aak.getScriptManager()) {\n\
      Aak.registerCommands();\n\
      Aak.update.automatic();\n\
      Aak.listDetect();\n\
      Aak.blockDetect();\n\
    //} else { // Native\n\
    //  throw "Sorry! No Native support..";\n\
    //}@i

Test this filter on RegEx101: https://regex101.com/r/kK7xP9/1
Please reopen https://greasyfork.org/scripts/735-anti-...ek.user.js and Ctrl + F5 again.

>> in the mean time i try uploading this script to my privoxy folder and remove that line.

I think this way will work Big Teeth
Add Thank You Quote this message in a reply
Sep. 28, 2015, 04:57 PM
Post: #9
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
so i uploaded the file to my webserver and removed that section. but still it seems not to work for me. i even added my webserver to my whitelist. so no rules should apply. but still it breaks some sites when gm_function is active so it seems to load the script but the antiblock demo is still working for me.
Add Thank You Quote this message in a reply
Sep. 29, 2015, 02:51 PM
Post: #10
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
For me it works very fine, maybe this problem was caused by your web browser, can you let me know your web browser's name (Firefox, Chrome, Edge) ? I think Anti AdBlock Killer won't work on Edge, but i'm sure it works on Firefox.
Add Thank You Quote this message in a reply
Oct. 05, 2015, 07:10 PM (This post was last modified: Oct. 05, 2015 07:11 PM by kik0s.)
Post: #11
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
hey cattleyavns,

tried it again. still not working. i think its the way i add the anti-adblock-killer-filters.txt to privoxy. how do you add that list to privoxy? i use adblock2privoxy for that. i think thats why its not working for me.

thanks a lot for your help. and the author changed the js file a lil bit Smile!
Add Thank You Quote this message in a reply
Oct. 06, 2015, 12:49 AM
Post: #12
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
I don't have anti-adblock-killer-filters.txt but my Anti AdBlock Killer still works, I think I will TeamViewer your computer to fix your problem faster, but a next few days because I'm pretty busy atm.
Add Thank You Quote this message in a reply
Oct. 06, 2015, 01:00 PM
Post: #13
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
hey. sounds great. but i have it all running on a raspberry pi. so actually you can only connect through a terminal to it Wink there is no GUI on my pi. so no way to connect through teamviewer. can you work with that?
Add Thank You Quote this message in a reply
Oct. 07, 2015, 04:08 PM
Post: #14
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
i thought raspberry pi's were strictly VIDEO ???
Add Thank You Quote this message in a reply
Oct. 07, 2015, 04:22 PM
Post: #15
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?!
(Oct. 07, 2015 04:08 PM)ProxRocks Wrote:  i thought raspberry pi's were strictly VIDEO ???

what do you mean? there is a way running a full os with a monitor on the pi but i dont need that. its too slow and for me its like a small home server Big Teeth
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: