Có một quan niệm cho rằng nếu người dùng không bao giờ nhấp chuột vào quảng cáo thì việc chặn chúng sẽ không làm trang web hoặc ứng dụng bị tổn thất về mặt tài chính. Điều này thật sai lầm vì các nhà phát triển cũng kiếm được tiền cho dù chỉ hiển thị quảng cáo. Việc chặn quảng cáo hay không tuỳ thuộc vào bạn. Cá nhân tôi sẽ không dùng các ứng dụng có hiển thị quảng cáo bởi vì tôi thấy chúng rất khó chịu, chính vì vậy mà khi không có phần mềm chặn quảng cáo tôi sẽ không cài đặt những ứng dụng này.
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.
Java trên Android duy trì bộ nhớ đệm DNS bên trong của chính nó. Hệ điều hành sẽ phản xạ tập tin tên miền mới ngay lập tức (xác minh nó với ping trên dòng lệnh) nhưng bạn cần khởi động lại Android để xây dựng lại bộ nhớ đệm DNS của Java.
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.
Xem Danh sách tên miền được bổ sung cho Alock.
Xin hãy truy cập vào https://adaway.org.