Adblock Plugin

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

Re: Adblock Plugin

Post by Lantis »

I agree that you are probably out of space mate.

Also you won't see a list on the page because you're using plugin version 1.0.3 or .4.
The latest version is 1.1.0 but can only be used with gargoyle versions > 1.9.0.

The best thing you can do to track this issue down is to update the block list from the GUI, and then run a "logread" to see what went wrong.
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.

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

Re: Adblock Plugin

Post by rahul »

Thank You Lantis,
For so much efforts, and i really apologise for my inability to perform the required task. You may do a kind help if u r free to let me know how to executethe code or any link to any forum for the same.
Regards.
TP-LINK WR841N, Gargoyle- v1.9.x

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

Re: Adblock Plugin

Post by Lantis »

Version 1.1.0 has been released.
It is now available from http://lantisproject.com/gargoyle_plugins

If you are using a version of Gargoyle before 1.9.0, please do not upgrade past plugin version 1.0.4

Changelog

Code: Select all

Version 1.1.0
- Added GUI for interfacing with the block, black and white lists
- Added transparentpixel.gif file to the plugin so we no longer need to retrieve it from a remote source
- Reworked plugin so that it installs to "/plugin_root/". This means that the plugin installation will now respect the use of external usb storage automatically.
- REMOVED: legacy web server support (httpd_gargoyle)
- REMOVED: wireless_only capability, gargoyle bridges the wifi and lan networks causing this functionality to break. If someone has an idea for fixing it, i am happy to add it back.
- DROPPED: support for Gargoyle Versions < 1.9.0. If you are still using one of these versions, please use plugin version < 1.0.4
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.

dg_102
Posts: 30
Joined: Sat Mar 03, 2012 10:37 am

Re: Adblock Plugin

Post by dg_102 »

Hi,

I was trying to install the new version of the plugin but I can not uninstall the existing one.

My Gargoyle Version:1.9.X (Built 20151228-2140 git@b93d5e4) and my router is TL-WDR4300 v1.

Any idea how I can achieve this?

Thank you,

dg

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

Re: Adblock Plugin

Post by Lantis »

Yea that happens a lot with the plugin system. I'll add instructions for a manual uninstall to the first post.

1. disable the adblock plugin (use the GUI, untick the enabled box on the Adblock configuration page and save changes)

2. navigate to /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.list
every file listed in that file is related to the plugin and should be deleted.

3. execute the post-removal script from the same folder
"sh /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.postrm"

4. remove all the files from /plugin_root/usr/lib/opkg/info related to plugin-gargoyle-adblock

5. open the status file at /plugin_root/usr/lib/opkg and remove the entry for adblock. If it is the only entry, save it as a blank file, do not delete it.

You should now no longer have the adblock plugin in the GUI, and if you check the plugin list it should be listed as uninstalled.
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.

dg_102
Posts: 30
Joined: Sat Mar 03, 2012 10:37 am

Re: Adblock Plugin

Post by dg_102 »

Hi Lantis,

Thank you, it worked like a charm. At point 2 there is a misspelling for root.

Thank you,

dg

PS. Just installed the new version...nice...

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

Re: Adblock Plugin

Post by Lantis »

No worries, and thanks for pointing out the spelling mistake!

I'm glad so many people are getting good use out of this plugin. :D
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.

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

Re: Adblock Plugin

Post by phgerin »

Removed version 1.04, installed version 1.1 but it was still the old interface.
Had to remove / install 2 times to get it work.

The search button are malformed on Safari
adblock.jpg

Works great, thanks !

lexalalex
Posts: 1
Joined: Tue Jan 05, 2016 4:32 pm

Re: Adblock Plugin

Post by lexalalex »

Lantis wrote:Yea that happens a lot with the plugin system. I'll add instructions for a manual uninstall to the first post.

1. disable the plugin (use the GUI, untick the enabled box and save changes)

2. navigate to /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.list
every file listed in that file is related to the plugin and should be deleted.

3. execute the post-removal script from the same folder
"sh /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.postrm"

4. remove all the files from /plugin_root/usr/lib/opkg/info related to plugin-gargoyle-adblock

5. open the status file at /plugin_root/usr/lib/opkg and remove the entry for adblock. If it is the only entry, save it as a blank file, do not delete it.

You should now no longer have the adblock plugin in the GUI, and if you check the plugin list it should be listed as uninstalled.
Hi,
I can not manual uninstall Version: 20150909-1.0.4, because I can not disable the plugin, because the checkbox is not active.
Image

My Gargoyle Version:1.9.0
Model:TP-Link TL-WR1043N/ND v1

Any idea how I can achieve this?

Thank you.

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

Re: Adblock Plugin

Post by Lantis »

phgerin wrote:Removed version 1.04, installed version 1.1 but it was still the old interface.
Had to remove / install 2 times to get it work.

The search button are malformed on Safari
adblock.jpg

Works great, thanks !

Did you download the new language file from my website?
http://lantisproject.com/gargoyle_plugi ... age_files/
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.

Post Reply