Adblock Plugin
Moderator: Moderators
Re: Adblock Plugin
Right, which I would consider an old version as far as development goes.
Yes there hasn't been any official releases, but there is plenty of community releases.
Yes there hasn't been any official releases, but there is plenty of community releases.
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
Thanks for the reply !Lantis wrote: ↑Sat May 30, 2020 8:06 pmBecause the list you're looking to add is relatively small (10-15 addresses ) you can just add them manually in the GUI to the blacklist. This will automatically include them with all other ad sites it loads during regular operation.
There's only 3 sections in the GUI, block, black and white. Hopefully that clarifies.
I'm not sure where in the GUI the block/black/white lists are.
I've looked in Firewall/Adblock and System/Plugins
(sorry for super delay, this is stuff I do on out-of-town family computer) so I just got back to it.)
Re: Adblock Plugin
never mind, I was using an old version of gargoyle. after updating the firmware I can see the lists in firewall/adblockmorglum wrote: ↑Sat Oct 03, 2020 10:44 amThanks for the reply !Lantis wrote: ↑Sat May 30, 2020 8:06 pmBecause the list you're looking to add is relatively small (10-15 addresses ) you can just add them manually in the GUI to the blacklist. This will automatically include them with all other ad sites it loads during regular operation.
There's only 3 sections in the GUI, block, black and white. Hopefully that clarifies.
I'm not sure where in the GUI the block/black/white lists are.
I've looked in Firewall/Adblock and System/Plugins
(sorry for super delay, this is stuff I do on out-of-town family computer) so I just got back to it.)
Re: Adblock Plugin
edit: the plugin doesnt work for me.
I have a WDR3600 v1.5
I have installed the plugin, enabled the plugin, updated the blocklist, saved the settings and rebooted the modem.
then I visit the test page in incognito mode and I see the ads from www.googleadservices.com
troubleshooting:
I have only 672Kb free according to the GUI: "Root Drive 960.000 kBytes Total, 672.000 kBytes Free"
I don't have any files named /etc/block.hosts
here is my available space (not much)
root@Gargoyle:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 61.1M 212.0K 60.9M 0% /tmp
/dev/mtdblock3 960.0K 288.0K 672.0K 30% /overlay
overlayfs:/overlay 960.0K 288.0K 672.0K 30% /
tmpfs 512.0K 0 512.0K 0% /dev
any help would be greatly appreciated.
cheers
I have a WDR3600 v1.5
I have installed the plugin, enabled the plugin, updated the blocklist, saved the settings and rebooted the modem.
then I visit the test page in incognito mode and I see the ads from www.googleadservices.com
troubleshooting:
I have only 672Kb free according to the GUI: "Root Drive 960.000 kBytes Total, 672.000 kBytes Free"
I don't have any files named /etc/block.hosts
here is my available space (not much)
root@Gargoyle:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 61.1M 212.0K 60.9M 0% /tmp
/dev/mtdblock3 960.0K 288.0K 672.0K 30% /overlay
overlayfs:/overlay 960.0K 288.0K 672.0K 30% /
tmpfs 512.0K 0 512.0K 0% /dev
any help would be greatly appreciated.
cheers
Re: Adblock Plugin

Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
-
- Posts: 122
- Joined: Mon Jun 09, 2014 12:53 pm
Re: Adblock Plugin
As of now, the block.hosts file is about 480 K in size.
File is located in /plugin_root/adblock/
As RomanHK also said, you might try editing the /usr/lib/adblock/runadblock.sh file.
You need to replace line 105 and 106 with the following ones:
Code: Select all
wget -qO- --no-check-certificate https://winhelp2002.mvps.org/hosts.txt| awk -v r="$ENDPOINT_IP4" '{sub(/^0.0.0.0/, r)} $0 ~ "^"r' > /tmp/block.build.list
wget -qO- --no-check-certificate "https://adaway.org/hosts.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
Re: Adblock Plugin
block.hosts was empty, but replacing lines 105 and 106 and running "update lists" filled it.
thanks!!
thanks!!
Re: Adblock Plugin
How do I make it work? I install it but it doesn't block the ads.
Re: Adblock Plugin
dnsmasq without leasing, failing.
It is normal?
It is normal?
-
- Posts: 122
- Joined: Mon Jun 09, 2014 12:53 pm