Advert-Blocker 0.5

Browsers, email, chat, etc.
Message
Author
fiskrond
Posts: 35
Joined: Mon 14 Aug 2017, 00:52
Location: Wales (UK)

Ad-blocking etc..

#61 Post by fiskrond »

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! :-)

artsown
Posts: 403
Joined: Wed 12 Sep 2012, 18:35

#62 Post by artsown »

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

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#63 Post by rufwoof »

I do similar, except using Steven Black's hosts ...

Code: Select all

_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
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

artsown
Posts: 403
Joined: Wed 12 Sep 2012, 18:35

#64 Post by artsown »

@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

Post Reply