[Script][v1.1] Adblock Installer (>17MB hosts file, 8KB script)

Here are software that related with Samsung H series TVs.
Post Reply

lekron
SamyGO Project Donor
Posts: 19
Joined: Thu Apr 28, 2016 12:59 pm
Location: Germany

[Script][v1.1] Adblock Installer (>17MB hosts file, 8KB script)

Post by lekron » Tue Feb 28, 2017 11:12 pm

I created a little script which helps you to block ads on your SmartTv..
The used hosts files are >17MB big!
You only have to activate ad blocking once through the script, it then will be applied on every boot.

You can choose between following options:
  • Master (general ad blocking list)
  • Master + Gambling
  • Master + Porn
  • Master + Social
  • Master + Gambling + Porn
  • Master + Gambling + Social
  • Master + Porn + Social
  • Master + Gambling + Porn + Social
  • Everything above + blocked update servers
  • Only block Samsung's update servers
If you have libAlert installed, the script will also offer you to show an alert message on TV startup.

Instructions:

1. Download the attachment

2. Copy adblock.sh to /mtd_rwarea/

3. Set permissions to 755 (rwxr-xr-x)

Code: Select all

chmod 755 /mtd_rwarea/adblock.sh
4. Run script

Code: Select all

sh /mtd_rwarea/adblock.sh
5. Choose one of the options

6. Enjoy browsing the web without ads! (YouTube app included)


Notes:

The script should work on all H series (maybe also other series - let me know), but I have only tested it on my own device.
So if anyone has a problem please let me know and I will try my best to make it work for you.

Changelog:

v1.1 - Added ability to block Samsung's update servers
v1.0 - Initial release

Credit to Github user BenBaltz for creating the hosts files!
You do not have the required permissions to view the files attached to this post.
Last edited by zoelechat on Tue Feb 28, 2017 11:28 pm, edited 1 time in total.
Reason: Moved to public
UE40H6740 T-MST2130

Post Reply

Return to “[H] Software”

Who is online

Users browsing this forum: No registered users and 1 guest