Post Reply 
Add "Anti Adblock Killer list by reek" to privoxy. but how?!
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
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*?\
    \}\
@//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
Post Reply 


Messages In This Thread
RE: Add "Anti Adblock Killer list by reek" to privoxy. but how?! - cattleyavns - Sep. 28, 2015 03:24 PM

Forum Jump: