Yleinen harhaluulo on, että jos käyttäjä ei koskaan klikkaa mainoksia, niin niiden estäminen ei haittaa sivua tai sovellusta taloudellisesti. Tämä ei kuitenkaan pidä paikkaansa, sillä kehittäjät tienaavat rahaa myös vain näyttämällä mainoksia. Riippuu itsestäsi haluatko estää mainokset vai et. Henkilökohtaisesti en käyttäisi sovelluksia, jotka näyttävät mainoksia, sillä mainokset ovat mielestäni ärsyttäviä, joten ilman mainostenesto-ohjelmaa en asentaisi kyseisiä sovelluksia.
Alock uses the hosts file to block hostnames, that serve advertisements. The hosts file is a file found in /system/etc/hosts
that maps hostnames to IP addresses. It is a traditional way to define hostname to IP address pairs without relying on the Domain Name System (DNS). All unwanted hostnames are redirected to 127.0.0.1
which means they will point to your own device.
If the hosts file is not writable, a fallback solution is to use the builtin VPN service. It will filter connections to unwanted hostnames and let others go through.
Androidin Java ylläpitää omaa sisäistä DNS-välimuistia. Käyttöjärjestelmä kuvastaa uuttaa hosts-tiedostoa heti (varmista se pingillä komentorivillä), mutta sinun täytyy käynnistää Android uudelleen jälleenrakentaaksesi Javan DNS-välimuisti.
Alock will also work without using the webserver!
You can enable a local webserver in preferences of Alock to answer requests to the local IP address 127.0.0.1
. This means requests from applications to ad servers which are redirected to 127.0.0.1
are answered by Alock's webserver.
Some applications refuse to work, when ad servers are not reachable. With this method they will be reachable again, replying with a blank page and no ad images.
Add the hostnames you want to block to the Blocked list from thehomescreen. Additionally, hostnames you want to exclude from blocking can be added to the Allowed and hostnames you want to redirect to a specific IP address belong to the Redirected.
Katso Luettelo hosts-lähteistä.
Mene https://adaway.org.