Post Reply 
Add "Anti Adblock Killer list by reek" to privoxy. but how?!
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
s@(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))@<script src="https://greasyfork.org/en/scripts/9320-gm-function/code.user.js"></script>\n$1@i

FILTER: fixaakiller
s@if \(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
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

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
Post Reply 


Messages In This Thread
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?! - kik0s - Sep. 28, 2015 11:09 AM

Forum Jump: