Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.
Moderator: Moderators
Lantis
Moderator
Posts: 7063 Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Post
by Lantis » Thu Dec 17, 2015 8:57 am
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
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
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.
windozer
Posts: 4 Joined: Wed Jan 22, 2014 5:05 am
Post
by windozer » Thu Dec 17, 2015 10:16 am
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: 7063 Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Post
by Lantis » Sat Dec 19, 2015 7:02 am
sneak preview of the new interface for interacting with the block lists.
Click the image to see full size
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.
nworbnhoj
Posts: 916 Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:
Post
by nworbnhoj » Sat Dec 19, 2015 12:55 pm
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: 5212 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Sat Dec 19, 2015 3:39 pm
+1
phgerin
Posts: 130 Joined: Sun Dec 21, 2014 2:03 pm
Post
by phgerin » Sat Dec 19, 2015 3:55 pm
can't wait !
b17gsr
Posts: 54 Joined: Tue Dec 08, 2015 10:58 pm
Location: Canada
Post
by b17gsr » Sun Dec 20, 2015 1:28 pm
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
Post
by oviano » Tue Dec 29, 2015 10:18 am
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
Post
by rahul » Fri Jan 01, 2016 10:01 am
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
Post
by tapper » Fri Jan 01, 2016 10:31 am
Hi the wr841n has just 4 mb of flash you mite have run out of space.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260