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 10 Dec 2019, 02:38
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 5 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
fiskrond

Joined: 13 Aug 2017
Posts: 35
Location: Wales (UK)

PostPosted: Fri 14 Dec 2018, 22:03    Post subject: Ad-blocking etc..  

Just use Vivaldi.. surely?
Go through options/setup and check/uncheck the obvious...

then..

Add following extensions:
- i don't care about cookies
- Nano Adblocker
- Nano Defender
- Disable HTML5 Autoplay (Reloaded)

Sweet! Smile
Back to top
View user's profile Send private message 
artsown

Joined: 12 Sep 2012
Posts: 351

PostPosted: Fri 20 Sep 2019, 16:46    Post subject:  

I used Pup-Advert-Blocker as a matter of convenience to update the mvps
hosts file. However, gradually, the internet was slowing down. I discovered
that Pup-Advert-Blocker was not actually using the mvps hosts file ... just
its block list ... and all the items are directed to 127.0.0.1 instead of
0.0.0.0 as they are on the mvps file. I read that using 0.0.0.0 gets
noticeably faster as the mvps file size grows in size. So I started using
a simple script on all my pups that I have been using on fatdog for
quite some time ... and I abandoned use of Pup-Advert-Blocker. The
internet speed is now much faster.

Here is the script:
------------------------------------------------------------------------------------------
#!/bin/bash
sleep 10
rm -f /etc/hosts
wget -c -4 -t 0 -T 10 -O /etc/hosts "http://winhelp2002.mvps.org/hosts.txt"
geany /etc/hosts
-------------------------------------------------------------------------------------------
I place this script in Startup. The 10 second delay gives some time for
my wireless connection to establish at bootup. The next line removes
any existing hosts file. Then wget fetches the mvps hosts and it gets
placed in /etc. Finally geany is invoked to display the hosts file so I can
see the latest version date.

You can try out my script by first downloading this tar file:

http://home.ptd.net/~artnpeg/update-hosts.tar

Extract it to ~Startup and reboot to test.

Art
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3672

PostPosted: Fri 20 Sep 2019, 17:06    Post subject:  

I do similar, except using Steven Black's hosts ...
Code:
_etchosts () {

   echo "Setting up /etc/hosts"

   # Get Steven Black's /etc/hosts file (form of ad-block)
   mv /etc/hosts /etc/hosts.default
   wget -O /etc/hosts https://github.com/StevenBlack/hosts/blob/master/hosts?raw=true

}

_etchosts

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
artsown

Joined: 12 Sep 2012
Posts: 351

PostPosted: Sat 21 Sep 2019, 05:39    Post subject:  

@rufwoof
Thanks for the tip on StevenBlack/hosts. A news outlet I frequent (cnn.com)
annoys users with ad videos before each news video. Steven's hosts blocks
them but mvps hosts does not ... and that is a clincher for me. Also, it's
remarkable that the internet seems even faster using the larger hosts file.

Art
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5
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.0407s ][ Queries: 13 (0.0139s) ][ GZIP on ]