How to filter ads on your G1

dominiksch

Member
Jul 26, 2011
8
11
0
new Ad blocker

Hi folks,

I have released my own hosts-based ad blocker named AdAway, it can be found on the market with the following features:

  • AdAway is Open Source
  • AdAway lets you select your own sources of hosts files
  • You can add exceptions to your Whitelist if some apps are not working with ads disabled
  • You can define extra hostnames in your own Blacklist

Market: market.android.com/details?id=org.adaway
Website: code.google.com/p/ad-away
Source: gitorious.org/adaway

I would like to hear suggestions and ideas for possible future releases. Please look into the Issue tracker before and add your suggestions there: code.google.com/p/ad-away/issues/list
 

XlAfbk

Senior Member
Aug 11, 2010
1,454
421
113
Hi folks,

I have released my own hosts-based ad blocker named AdAway, it can be found on the market with the following features:
looks nice. output is pretty much identical to my script.
doesn't seem to support https:// though, didn't test ftp.
suggestion: add update-check that sends a head-request and shows the Last-Modified-header in the UI. that way you don't have to update all the time but can check whether the lists were updated and only then do a full update.
 

bobbyphoenix

Senior Member
Mar 30, 2010
2,023
503
193
Orlando, FL
Hi folks,

I have released my own hosts-based ad blocker named AdAway, it can be found on the market with the following features:

  • AdAway is Open Source
  • AdAway lets you select your own sources of hosts files
  • You can add exceptions to your Whitelist if some apps are not working with ads disabled
  • You can define extra hostnames in your own Blacklist

Market: market.android.com/details?id=org.adaway
Website: code.google.com/p/ad-away
Source: gitorious.org/adaway

I would like to hear suggestions and ideas for possible future releases. Please look into the Issue tracker before and add your suggestions there: code.google.com/p/ad-away/issues/list
Works like a charm. Thanks.

Sent from my MB525 using XDA Premium App
 

cephraim

Senior Member
Jun 4, 2010
303
4
0
Hi folks,

I have released my own hosts-based ad blocker named AdAway, it can be found on the market with the following features:

  • AdAway is Open Source
  • AdAway lets you select your own sources of hosts files
  • You can add exceptions to your Whitelist if some apps are not working with ads disabled
  • You can define extra hostnames in your own Blacklist

Market: market.android.com/details?id=org.adaway
Website: code.google.com/p/ad-away
Source: gitorious.org/adaway

I would like to hear suggestions and ideas for possible future releases. Please look into the Issue tracker before and add your suggestions there: code.google.com/p/ad-away/issues/list
Can this be run in parallel with AdFree? Or, is it one or the other?
Also, what is the difference between the two?
 

larrycl

Senior Member
Dec 28, 2009
65
11
0
Hi folks,

I have released my own hosts-based ad blocker named AdAway, it can be found on the market
Thanks!
Trying to use the QR code tool to add hosts to the blocklist, I keep getting malformed host error.
I realized I was trying to add a list of hosts, and you only accept one at a time.
Would be nice to be able to add a list.
[Edit: Realized I can add a list by creating my own list, hosting it on Dropbox, then adding the public URL to the list of sources.]
 
Last edited:

dominiksch

Member
Jul 26, 2011
8
11
0
Can this be run in parallel with AdFree? Or, is it one or the other?
Also, what is the difference between the two?
When you would run them both, everytime you apply AdAway the whole hosts-file got overwritten by it so all hosts added by AdFree are gone.

The differences are the feature sets.
The main difference in my opinion (I am the dev of AdAway ;) ) is that you can choose your own sources of blocklists (hosts sources) in AdAway. AdFree uses only one source but has the advantage that it only adds new hosts, meaning it is faster because it only updates.
 

dkmurphys

Senior Member
Jan 31, 2011
57
5
0
When you would run them both, everytime you apply AdAway the whole hosts-file got overwritten by it so all hosts added by AdFree are gone.

The differences are the feature sets.
The main difference in my opinion (I am the dev of AdAway ;) ) is that you can choose your own sources of blocklists (hosts sources) in AdAway. AdFree uses only one source but has the advantage that it only adds new hosts, meaning it is faster because it only updates.
As the Dev you are planning to implement the feature of adding new hosts, correct?

I am currently using your app and I very much appreciate it and like it. I haven't had a problem with AdFree missing any ads, and AdAway has yet to miss any as well!

Also you should start your own thread over here to offer a place for support, suggestions, and praise.
 
Last edited:

XlAfbk

Senior Member
Aug 11, 2010
1,454
421
113
that'd require some server that compares the files and sends diffs. the amount of such files would grow huge after a few days, it could only be supported for some servers (as you can add custom urls) and considering how small those hosts files are it's just not worth it.
 

dominiksch

Member
Jul 26, 2011
8
11
0
As the Dev you are planning to implement the feature of adding new hosts, correct?

I am currently using your app and I very much appreciate it and like it. I haven't had a problem with AdFree missing any ads, and AdAway has yet to miss any as well!

Also you should start your own thread over here to offer a place for support, suggestions, and praise.
At the moment I am not allowed to post there because my post count is below 10 :D

As already said, implementing an update function like in AdFree requires to make diffs on server side. My idea was to rely totally on exisiting infrastructure, meaning I don't want to host hosts-files and diffs by myself. Because of that the whole files are downloaded everytime you update.
But there will be a new feature to show how old your current hosts-file is against the ones from the sources. This will be added in the future.
 
  • Like
Reactions: magillos

XlAfbk

Senior Member
Aug 11, 2010
1,454
421
113
If one download fails (server not available or stuff) you get a dialog informing you about the failed download. But when orientation changes that dialog disappears and there's no way to make it appear again and the app doesn't continue downloading, it's simply stuck. Had to kill it with a task killer to make it work again.
 

magillos

Member
Mar 4, 2011
41
4
0
Great job dominiksch. Thanks.


It would be useful if that was possible to add custom hosts from file. Adding every single one manually in pop up window on mobile is bit frustrating. I still get adds in angry birds and some apps with Addaway that I managed to get rid with manually created hosts file.
 

dominiksch

Member
Jul 26, 2011
8
11
0
If one download fails (server not available or stuff) you get a dialog informing you about the failed download. But when orientation changes that dialog disappears and there's no way to make it appear again and the app doesn't continue downloading, it's simply stuck. Had to kill it with a task killer to make it work again.
Thanks for the bug report. I will look into it

Great job dominiksch. Thanks.


It would be useful if that was possible to add custom hosts from file. Adding every single one manually in pop up window on mobile is bit frustrating. I still get adds in angry birds and some apps with Addaway that I managed to get rid with manually created hosts file.
Thanks for the suggestion, i added it to my enhancments for a future release.