I am using the last dd-wrt firmware on tplink_tl-wdr3600v1 and have installed optware.
while I run the script, it is able to generate the filter and action files, but when I try to start up privoxy, it is stuck at loading the filter file. This is the log:
Posted: Tue Feb 16, 2016 17:26 Post subject: Privoxy Custom confi breaks all trafic on port 80
I see a few other have ran into the same problem I have.
Privoxy itself works and when I turn on tansparant mode I am able to acess the config web page. But as soon I enter the custom config info all traffic on port 80 is broken. I made sure my config directory is pointing to the right place... Everythin appears to be set u problerly.
Does anyone know what my problem is, have you found a solution?
sed '/^!.*/d;1,1 d;/^@@.*/d;/\$.*/d;/#/d;s/\./\\./g;s|?|\\?|g;s/\*/.*/g;s/(/\\(/g;s/)/\\)/g;s/\[/\\[/g;s/\]/\\]/g;s/\^/[\/\&:\?=_]/g;s/^||/\./g;s/^|/^/g;s/|$/\$/g;/|/d' ${file} >> ${actionfile}
try to match yours. I am attaching the script too. I understand for security reasons you cant run this one but try to compare with yours and fix the line that differs,
thanks,
boatingdude
Having bad regex "\?" errors when executing the shell script to update. here is an image. Any ideas?
Try changing the first line of the script to #!/bin/sh
When I first installed privoxy-blocklist.sh, I had no bash so I crossed my fingers and changed the first line of the script to run itself in /bin/sh. No regex issues converting easylist, easyprivacy, or antiadblockfilters. _________________ [Broadcom] Asus rt-ac66u r35531 ('66 should only be factory reset through the DD UI)
Fix RT-AC66U "wl1 [2.4 GHz TurboQAM]". DD-WRT failsafe UI @ http|https://169.254.255.1/
I have WRT1900AC v1 router DDWRT Kong 31100 on it. Privoxy 3.0.26 enabled and working ok. I want to implement this code because privoxy doesn't block all ads. I use on transparent mode.
Q1: Can I use this script on my router?
Q2: Can I work this script on usb drive instead of jffs? Whars the advantage and disadvantage of jffs?
sed '/^!.*/d;1,1 d;/^@@.*/d;/\$.*/d;/#/d;s/\./\\./g;s|?|\\?|g;s/\*/.*/g;s/(/\\(/g;s/)/\\)/g;s/\[/\\[/g;s/\]/\\]/g;s/\^/[\/\&:\?=_]/g;s/^||/\./g;s/^|/^/g;s/|$/\$/g;/|/d' ${file} >> ${actionfile}
try to match yours. I am attaching the script too. I understand for security reasons you cant run this one but try to compare with yours and fix the line that differs,
thanks,
boatingdude
There is no any record about gsmarena in updated easylist.action or easylist.filter files. I added these line in my user.filter file. For this reason it blocks.
Quote:
FILTER: div-ads DIV ad blocks.
s/<div id="adidm_reklam"/<div id="adidm_reklam" style="display:none;"/g
s/<div id="google_image_div"/<div id="google_image_div" style="display:none;"/g
s/<div id="adContent-border"/<div id="adContent-border" style="display:none;"/g
Posted: Wed Jan 01, 2020 20:00 Post subject: does this actually work with youtube ?
@mkaand
there are simply method to block ads with a simple host file in script, less memory and space
actually does this method block youtube ads ?
the ads are shared between servers that also host the real videos so blocking by ip will break links where videos reside, some will work and some will not play, so best method will be implementing a script that will act like Ublock Origin or some other adblocks that will block the https request for ads and vids will continue playing without interruption
You are researching Youtube Ads blocking I guess. This quite old topic. I updated my adblock system. I use old firmware for my router DD-WRT v3.0-r38060 std (12/20/1
I still use privoxy and every week automatically get filter updates + I found this link for YouTube Ads:
local-zone: "manifest.googlevideo.com" redirect
local-data: "manifest.googlevideo.com A 172.217.19.46"
local-data-ptr: "172.217.19.46 manifest.googlevideo.com"
local-zone: "1e100.net" redirect
local-data: "1e100.net A 127.0.0.1"
local-data: "r1---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r1.sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r2---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r2.sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r3---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r3.sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r4---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r4.sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r5---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r5.sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r6---sn-25ge7n76.googlevideo.com A 127.0.0.1"
local-data: "r6.sn-25ge7n76.googlevideo.com A 127.0.0.1"
Now I can still see some Youtube ad videos but less than before. Maybe you can improve my work. _________________ Kaan's World | @mkaand | PLEX Archive | Trakt.tv