
Adblock Plugin
Moderator: Moderators
Re: Adblock Plugin
first post updated.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Adblock Plugin
With Firefox I see only the "save changes" and the "reset" button.
Reload page does not help. Delete caches does not help.
With Safari everthing is OK.
Reload page does not help. Delete caches does not help.
With Safari everthing is OK.
Re: Adblock Plugin
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?

Works OK in Firefox for me.DrData wrote:With Firefox I see only the "save changes" and the "reset" button.
I notice in Teffalump's script that only two of the possible hosts.txt are enabled.
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
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Adblock Plugin
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.
The name of the Firefox-add-on is Adblock Plus

my mistake, sorry.
Re: Adblock Plugin
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

I was also concerned about space constraints for people on older devices.
If people are interested, I could look at making it an option.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Adblock Plugin
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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Adblock Plugin
Having a bit of a play with this plug in
I don't think it works as well as ad block plus? (in respect to making the web page look clean)
But other than that it seams to work well

I don't think it works as well as ad block plus? (in respect to making the web page look clean)
But other than that it seams to work well

Re: Adblock Plugin
No it doesn't, but it doesn't pretend to either.
Basically it just stops the Ad dead in its tracks. Adblock plugins for browsers tend to detect them, and then hide them. This is done with careful JavaScript and CSS manipulation.
Blocked ads simply fail to load. If a website is coded "nicely", a failed load should be hidden. If it's not, ugly image.
This is where the transparent pixel option comes in. It attempts to serve a 1x1 see through pixel instead of the ad. Which should hide it completely.
There are other issues with this method though but I won't go into them.
There is also a mildly increased performance gain from not having to load these ads.
I guess the limitation is that it is running in a crude way on a router with limited resources and functionality. But, it does help block ads on your mobile devices which otherwise may not have Adblock programs.
What website did you screenshot that on?
I appreciate the feedback and if there's ways I can improve it then I would be happy to try them.
Basically it just stops the Ad dead in its tracks. Adblock plugins for browsers tend to detect them, and then hide them. This is done with careful JavaScript and CSS manipulation.
Blocked ads simply fail to load. If a website is coded "nicely", a failed load should be hidden. If it's not, ugly image.
This is where the transparent pixel option comes in. It attempts to serve a 1x1 see through pixel instead of the ad. Which should hide it completely.
There are other issues with this method though but I won't go into them.
There is also a mildly increased performance gain from not having to load these ads.
I guess the limitation is that it is running in a crude way on a router with limited resources and functionality. But, it does help block ads on your mobile devices which otherwise may not have Adblock programs.
What website did you screenshot that on?
I appreciate the feedback and if there's ways I can improve it then I would be happy to try them.

https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.