Re: Adblock Plugin
Posted: Thu Jul 02, 2015 6:19 am
Waiting for it Lantis! 

A forum to discuss the Gargoyle web interface for Openwrt
https://www.gargoyle-router.com/phpbb/
Works OK in Firefox for me.DrData wrote:With Firefox I see only the "save changes" and the "reset" button.
Code: Select all
echo 'Downloading hosts lists...'
#Download and process the files needed to make the lists (enable/add more, if you want)
wget -qO- http://www.mvps.org/winhelp2002/hosts.txt| awk -v r="$ENDPOINT_IP4" '{sub(/^0.0.0.0/, r)} $0 ~ "^"r' > /tmp/block.build.list
wget -qO- "http://adaway.org/hosts.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
#wget -qO- http://www.malwaredomainlist.com/hostslist/hosts.txt|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
#wget -qO- "http://hosts-file.net/.\ad_servers.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
In my experience the first 2 servers provide a sufficient list. I rarely (I can't actually think of any!) see any ads. There's a lot of overlap between them all also. I've never tried it with just 1 list so I'm not sure how complete it would benworbnhoj wrote:Well done Lantis - thank you
I notice in Teffalump's script that only two of the possible hosts.txt are enabled.What is the thinking about enabling more/less of these?Code: Select all
echo 'Downloading hosts lists...' #Download and process the files needed to make the lists (enable/add more, if you want) wget -qO- http://www.mvps.org/winhelp2002/hosts.txt| awk -v r="$ENDPOINT_IP4" '{sub(/^0.0.0.0/, r)} $0 ~ "^"r' > /tmp/block.build.list wget -qO- "http://adaway.org/hosts.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list #wget -qO- http://www.malwaredomainlist.com/hostslist/hosts.txt|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list #wget -qO- "http://hosts-file.net/.\ad_servers.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
Interesting lol. If it makes you feel any better, I used to use Adblock plus also. Since developing this script, I've found that I don't need to.DrData wrote:I found my problem ith Firefox. In Firefox I had installed a add-on witch blocks the adblock.js file from the Adblock Plugin.
The name of the Firefox-add-on is Adblock Plus![]()
my mistake, sorry.