顯示具有 advertisement 標籤的文章。 顯示所有文章
顯示具有 advertisement 標籤的文章。 顯示所有文章

2018年5月15日 星期二

[How To] install adblock in openwrt or LEDE

As we know some of the wireless devices cannnot install adblock plugin such as iphone and iPad. We can modify our routers to add adblock in our open source routers.

So how to do it:

The following packages is needed:
1. adblock (the adblock package)
2. libustream-mbedtls (For https download using uclient-fetch)
3. luci-app-adblock (in case for luci interface)

    #opkg install adblock libustream-mbedtls luci-app-adblock

After installation, you need some configuration. For luci, you can find the configuration in homepage-> "Service" Tab -> "Adblock"

enable the host that you need to.

for command line configuration
you need to: (I come from Hong Kong, so I block the reg_cn)
    #/etc/init.d/adblock enable 
    #/etc/init.d/adblock start
    #uci set adblock.global.enabled='1'
    #uci set adblock.reg_cn.enabled='1'
    #uci commit

To verify correct installation
In the log tab in Adblock luci page:
    Tue May 15 14:25:18 2018 user.info adblock-[3.4.3]: blocklist with overall 29670 domains loaded successfully (NETGEAR WNDR3700v4, LEDE XXXXX)
or the same line shown in command line
    #logread |grep adblock

from client side, try ping "analytics.google.com"
    $ ping analytics.google.com
    ping: analytics.google.com: Name or service not known


Conclusion
This adblock is not as good as the browser plugin one as it just block the advertisment hosts. But at least your private information will not be sent to those ad servers.

Cheers

2015年10月23日 星期五

Alexa - a web page to show how pofitable of a web page

Alexa - http://www.alexa.com/ In internet point of view, browsing count means profit. This page can show the ranking of amount of access of a page. That is for simply, how profitable for the page is and the efficiency of putting advertisement there.