Adblock Plugin

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: Adblock Plugin

Post by lollapalooza »

I confirm that the laptop is using 192.168.0.1 as DNS server...
Anyway it's strange... uBlock on the laptop still shows blocked items, but apparently the ads don't appear browsing the web on other devices (iPad, etc).... but still appear on YouTube app before the video starts (but maybe this is normal).

Lantis
Moderator
Posts: 6760
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

Oh that makes sense.

Basically the plugin disconnects ads before they get a chance to load but it dies this at a DNS level.
uBlock and similar examine website code and remove the ads entirely. Because I don't alter web code the plugin still thinks it's doing a good job.

Some Ads before YouTube cannot be blocked by my method because they are served from the YouTube servers themselves.



So, the plugin is fine. :)
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: Adblock Plugin

Post by lollapalooza »

Great... :)
Thanks for explaination ;)

themati91
Posts: 3
Joined: Wed Dec 02, 2015 5:47 pm

Re: Adblock Plugin

Post by themati91 »

Hello, why i can't install this plugin? I click on install button, something is happening but its not install anyway... I have gargoyle 1.6.2.2 (r42647), by obsy and 13.32 MB free flash space by extended sd card.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Adblock Plugin

Post by ispyisail »

themati91 wrote:Hello, why i can't install this plugin? I click on install button, something is happening but its not install anyway... I have gargoyle 1.6.2.2 (r42647), by obsy and 13.32 MB free flash space by extended sd card.
I think you need to upgrade your firmware

themati91
Posts: 3
Joined: Wed Dec 02, 2015 5:47 pm

Re: Adblock Plugin

Post by themati91 »

Is there newer firmware for tp-link mr3420 v2 ?

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Adblock Plugin

Post by nworbnhoj »

themati91 wrote:Is there newer firmware for tp-link mr3420 v2 ?
http://www.gargoyle-router.com/download ... pgrade.bin

do NOT preserve settings
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

themati91
Posts: 3
Joined: Wed Dec 02, 2015 5:47 pm

Re: Adblock Plugin

Post by themati91 »

I installed this firmware 1.9.0 but this dont have configuration for usb modems! :( I must downgrade to 1.6.2.2

Lantis
Moderator
Posts: 6760
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

I have not built this plugin for 1.6.2 firmware I'm sorry.
You could set it up manually by going to the GitHub link in the first post.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

windozer
Posts: 4
Joined: Wed Jan 22, 2014 5:05 am

Re: Adblock Plugin

Post by windozer »

Thank you for creating this plugin.

How may I add the disconnect lists into /overlay/upper/plugin_root/usr/lib/gargoyle/runadblock.sh? More specifically what needs to be changed in this line wget -qO- "http://adaway.org/hosts.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list

The list doesn't have 127.0.0.1 before the domain like below:

Code: Select all

# Basic tracking list by Disconnect
# License: GPLv3
# Contact: support [at] disconnect.me

adjust.io
airbrake.io
appboy.com

Post Reply