Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 23:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Advert-Blocker 0.5
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [56 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2373
Location: UK

PostPosted: Sun 14 Aug 2011, 11:44    Post subject:  

I've updated this tool a bit since it was included in Woof, nothing major but its faster.. I have also recentlty i18n'd (internationalised) it, so the GUI can be available in a number of languages.

Translations of the following english .mo file are welcome (I think its better to start getting real translations, rather than keep posting crap trans-Google-lations, as they are [apparently] more or less incomprehensible!)

Code:
# english

Loc_no_ads_selected="No ad lists selected. Ad blocking will be disabled."
Loc_success="Success - your settings have been changed.\n\nYour hosts file has been updated."

Loc_start_btn="Start"
Loc_start_btn_tt="Click to download and then block a list of advertising servers"
Loc_edit_btn="Edit"
Loc_edit_btn_tt="Manually edit your hosts file in a text editor, adding or removing any entries you like"
Loc_quit_btn="Quit"
Loc_quit_btn_tt="Exit or Cancel"
Loc_help_btn="Help"
Loc_help_btn_tt="Learn more about blocking and disabling online adverts"

Loc_help1="The $title tool adds stuff to your '/etc/hosts' file, so that many advertising servers and websites will not be able to connect to this PC."
Loc_help2="Leave your cursor over a service to see a short description. You can choose one service or combine multiple services for more advert protection."
Loc_help3="Blocking ad servers protects your privacy, saves you bandwidth, greatly improves web-browsing speeds and makes the internet much less annoying in general."
Loc_howto="Leave your cursor over a service to see a short description. You can choose one service or combine multiple services for more advert protection."

Loc_summary="Block online ads in all browsers with this simple tool"
Loc_choose_service="Choose your preferred ad blocking services"
Loc_mvps_desc="Blocks a very large number of malware sites and unsafe adult networks"
Loc_systcl_desc="A large, fairly comprehensive list of many known ad servers"
Loc_technobeta_desc="A smaller list of popup adverts, ad servers and ad networks"
Loc_yoyo_desc="A small and effective list of very popular ad servers"
Loc_start="Click '${Loc_start_btn}' to block the selected ad servers"
Loc_edit="Click '${Loc_edit_btn}' to edit the hosts file"

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
stiginge


Joined: 22 Mar 2007
Posts: 420
Location: Kerry, Ireland

PostPosted: Wed 19 Oct 2011, 11:17    Post subject:  

One quick question, does the program automatically run when computer in rebooted? Or does it have to be run every time on bootup? I'm using 529 and there a shortcut from the jwm launch tray.
_________________
Buy silver, crash JPMorgan
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1872
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 19 Oct 2011, 12:04    Post subject:  

You need to run it just once. The best way to see whether it worked is the length of /etc/hosts - should be thousands of lines Smile
_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Sadi

Joined: 09 Apr 2012
Posts: 1

PostPosted: Mon 09 Apr 2012, 08:24    Post subject: Advert-Blocker 0.5
Subject description: Hosts Manager
 

Great work!!!

This is the closest thing I've found in the Linux world to this Windows Hosts Manager: www.abelhadigital.com/hostsman

Missing features are:
(1) Automatic updates (e.g. option to put a commandline version in /etc/cron.weekly or /etc/cron.monthly after configuration from the GUI control centre)
(2) Custom inclusion and exclusion lists (may be called hosts-user-allow and hosts-user-deny instead of black or white lists for political correctness Wink
(3) Possibility to add more online sources

I think it shouldn't be too difficult to add these.

And then I would wish I could also have a distro-independent version (replacing gtkdialog3 with zenity perhaps)

Kind regards,

Sadi
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1086

PostPosted: Tue 08 Jan 2013, 12:15    Post subject:  

I was wondering... Are there any lists that can be added to PupAdvertBlocker so that it also blocks adult sites? Most adult content blockers work with keywords, that's horrible because for example you can open your email box or your favourite social network and get it suddenly closed by an adult content warning, this makes surfing the web very awkward.
_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4284

PostPosted: Tue 08 Jan 2013, 16:25    Post subject:  

The only one I would recommend due to licensing issues with the rest is:
http://dsi.ut-capitole.fr/blacklists/download/

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 822
Location: London, England

PostPosted: Sat 22 Feb 2014, 10:44    Post subject:  

@ scOttman
Are you still supporting this?

Anyway, with some help from Terryphi I was looking at this recently. Looks like the Technobeta service is dead so I removed it. Also the format of the Mvps list is now modified so some changes are needed to the code otherwise it has no effect (the whole list downloads but ends up getting totally deleted).

With the modifications I have made so far the Mvps list works, or you can combine it with the other two for a longer hosts lists (with duplicates removed) for maximum blocking.

I will upload what I have as "version 0.5b" here:-
http://smokey01.com/OscarTalks/pup-advert-blocker-0.5b.pet
but I know very little about coding so someone may wish to make corrections or improvements.

Seems like Woof and Woof-CE still have an old version 0.3 which really could do with being looked at.
adblocker1.jpg
 Description   Slightly modified GUI
 Filesize   75.27 KB
 Viewed   335 Time(s)

adblocker1.jpg

adblocker2.jpg
 Description   Hosts file with all 3 lists selected - note the number of lines
 Filesize   61.65 KB
 Viewed   337 Time(s)

adblocker2.jpg


_________________
Oscar in England

Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5649
Location: Valåmoen, Norway

PostPosted: Sat 22 Feb 2014, 11:32    Post subject:  

Barry has included the pup-advert-blocker into Woof - now in Woof-CE.
Would be great if we could join our effort there
https://github.com/puppylinux-woof-CE/woof-CE/blob/testing/woof-code/rootfs-skeleton/usr/sbin/pup-advert-blocker
Screenshot_2014-02-22_165127.png
 Description   
 Filesize   32.53 KB
 Viewed   322 Time(s)

Screenshot_2014-02-22_165127.png


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
OscarTalks

Joined: 05 Feb 2012
Posts: 822
Location: London, England

PostPosted: Thu 01 May 2014, 10:26    Post subject:  

I have uploaded a couple of new versions of the advert blocker to
http://smokey01.com/OscarTalks
as well as here.

All of the above fixes plus I have corrected the long-standing typo
It only affected the labels, not the functions, but...

systcl should be sysctl

There is a version 0.3b-woofce which is for Slacko 5.7 or later using Zigbert's nice new GUI

For Puppies earlier than that, use the version 0.5b
pup-advert-blocker-0.5b.pet
Description  For Puppies earlier than Slacko 5.7
pet

 Download 
Filename  pup-advert-blocker-0.5b.pet 
Filesize  4.48 KB 
Downloaded  70 Time(s) 
pup-advert-blocker-0.3b-woofce.pet
Description  For Slacko 5.7 or later Woof-CE Pups
pet

 Download 
Filename  pup-advert-blocker-0.3b-woofce.pet 
Filesize  3.07 KB 
Downloaded  50 Time(s) 

_________________
Oscar in England

Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7785
Location: qld

PostPosted: Thu 19 Jun 2014, 07:30    Post subject:  

Oscar, this is in the woof structure so I have updated it. Thanks. ziggy will be happy that is gtkdialog libraries are gaining acceptance.
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4284

PostPosted: Thu 10 Jul 2014, 22:49    Post subject:  

fyi - if you want to run an app (wget for instance) with on a blocked site you can do this:
Code:
         sed -i "s/hosts:\t\tfiles /hosts:\t\t/g" /etc/nsswitch.conf
         wget -t 0 -q --no-dns-cache $HOST$FULL
         sed -i "s/hosts:\t\t/hosts:\t\tfiles /g" /etc/nsswitch.conf

or you can modify resolve.conf or temporarily swap the /etc/hosts file with a blank one
(I used this technique in my shell based proxy server so that all my different browsers could use the same local cache...) ... but you could also extend it to block sites for your kids and use one of these techniques with a password to temporarily override it (I'd recommend the swapping technique for this so ads could still be blocked)
I recommend this set:
ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz
from: http://dsi.ut-capitole.fr/blacklists/index_en.php
it is split into the following
Category
adult
agressif
audio-video
blog
cleaning
dangerous_material
drogue
financial
forums
gambling
hacking
liste_bu
mobile-phone
phishing
publicite
radio
redirector
strict_redirector
strong_redirector
tricheur
warez
webmail
games
educational_games
mixed_adult
filehosting
reaffected
sexual_education
shopping
dating
marketingware
astrology
sect
celebrity
manga
child
malware
press
chat
remote-control
social_networks
jobsearch
sports
bank
arjel
cooking
lingerie
translation
bitcoin
dialer

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 4 [56 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0852s ][ Queries: 13 (0.0083s) ][ GZIP on ]