Adblock Plugin

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

Moderator: Moderators

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

Re: Adblock Plugin

Post by Lantis »

something along the lines of

Code: Select all

wget -qO- "https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt" | awk -v r="0.0.0.0" '{sub(/^[a-zA-Z0-9]/,r" ")} $0 ~ "^"r' >> /tmp/list.list
i'm not great with awk. i suggest you do your own research and come up with a solution.

My solution there snatches the first letter off each result which is not what we want :roll: but it is midnight and my brain isn't functioning.



EDIT:

nevermind my brain switched back on for a moment.

Code: Select all

wget -qO- "https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt" | awk -v r="$ENDPOINT_IP4" '/^[a-zA-Z0-9]/{sub(/^/,r" ")} $0 ~ "^"r' >>/tmp/list.list
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 »

Sweet. Thanks a ton. I've written my own regex for sms blocking and some url redirecting; I would have spent hours trying to figure that^ out : )

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

Re: Adblock Plugin

Post by Lantis »

sneak preview of the new interface for interacting with the block lists.

Click the image to see full size

Image
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.

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

Re: Adblock Plugin

Post by nworbnhoj »

wow!
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

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

Re: Adblock Plugin

Post by ispyisail »

+1

phgerin
Posts: 130
Joined: Sun Dec 21, 2014 2:03 pm

Re: Adblock Plugin

Post by phgerin »

can't wait !

b17gsr
Posts: 54
Joined: Tue Dec 08, 2015 10:58 pm
Location: Canada

Re: Adblock Plugin

Post by b17gsr »

Nice!

I'd love to have something similar to add / remove sites that are being logged under "Recently Visited Sites", under the "Web Usage".
Linksys WRT3200ACM on 1.10.x
D-Link DIR-890L/R access point with blah stock firmware
--- Retired ---
TP-LINK Archer C7 v2 on 1.9.2

oviano
Posts: 26
Joined: Sun Dec 20, 2015 7:41 am

Re: Adblock Plugin

Post by oviano »

Just a little note for Lantis.

Thanks for this, new user here and I just installed this plugin and it works a treat.

I had been using a combination of ABP for OS X Safari and Purify for iOS but the latter was continually causing problems by breaking certain websites.

So far so good with this plugin. I will report back after I've spent a few weeks with it.

rahul
Posts: 7
Joined: Wed Dec 30, 2015 10:12 pm

Re: Adblock Plugin

Post by rahul »

Hello Lantis.

This is rahul and i am new to this plugin. I upgraded gargoyle to 1.8.1 to install this plugin. The plugin got installed sucessfully though, itdoesnt seem yo be working. I tried all things, incongonito, clear cache, reboot. Etc, I have a strange felling that this is problem with plugin as no any list shows up in the adblock page, Also now i am unable to uninstall it. Please help.

Gargoyle 1.8.1 on TP Link wr841n v8.
TP-LINK WR841N, Gargoyle- v1.9.x

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: Adblock Plugin

Post by tapper »

Hi the wr841n has just 4 mb of flash you mite have run out of space.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Post Reply