noADShosts

Rating: 
5
Your rating: None Average: 5 (2 votes)

What is it?

Browsing the Internet using your SailfishOS device? Tired of intrusive avertisments? Thinking about AdBlock Plus? Forget about it. I have something better for you.

Try an old but good working method of changing your /etc/hosts to the right one from http://winhelp2002.mvps.org/ with this package.

If you don't know what host file is just read Wikipedia.

I will update it sometimes when new versions of hosts.txt will be available.

I have changed this file specially for Jolla (added "127.0.0.1 Jolla" entry) for Openrepos builders. If you are using other device change this entry to your actual hostname or rpmbuild won't build.

DO NOT DELETE THE PACKAGE!

Well, if you delete this package you will loose your /etc/hosts. Some hostnames like localhost won't resolve. 

Solution is very easy so I haven't supplied even a bash script. Open terminal and type this text:

devel-su
#enter your root password set in Developer Mode settings.
#make a backup with original hosts
cat /etc/hosts | head -n 3 > /etc/hosts.bak
#remove package with /etc/hosts
pkcon remove noadshosts -y
#move your /etc/hosts back
mv /etc/hosts.bak /etc/hosts
Application versions: 
AttachmentSizeDate
File noadshosts-1.0-1.armv7hl.rpm109.45 KB08/05/2015 - 02:04
Changelog: 

- Initial build. File updated May-05-2015

Comments

MooCrumpus's picture

by how is this affected of hardware? why not compiled open? Want to habe a tablet version...

objectifnul's picture

Must have!!

No update planned soon?

Macilaci457's picture

Not a bad idea...

For more information about host files see: http://en.wikipedia.org/wiki/Hosts_%28file%29

Mariusmssj's picture

could you explain more on how this works?