Giter Site home page Giter Site logo

adblock's People

Contributors

eddie-zhang avatar mattisg avatar teleboas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adblock's Issues

Support customized list?

Do you think it would be interesting to extend your script to add a list of domains from the user side.

Consider using dnsmasq

dnsmasq could be an interesting way to make adblock available for the whole LAN, including devices that don't allow setting up a hosts file.

There will probably be side effects though, so this needs thinking through.

Add options to activate some commented entries from hosts zero

After reading the source file, I realized that some hosts are commented:

#<maybe-spy>
#0.0.0.0 auto.search.msn.com  # Microsoft uses this server to redirect
                                # mistyped URLs to search engines. They
                                # log all such errors.
#0.0.0.0 sitefinder.verisign.com	# Verisign has joined the game 
#0.0.0.0 sitefinder-idn.verisign.com	# of trying to hijack mistyped
					# URLs to their site. 
					# May break iOS Game Center.

#0.0.0.0 s0.2mdn.net		# This may interfere with some streaming 
				# video on sites such as cbc.ca
#0.0.0.0 ad.doubleclick.net   # This may interefere with www.sears.com
				# and potentially other sites. 
0.0.0.0 media.fastclick.net	# Likewise, this may interfere with some
0.0.0.0 cdn.fastclick.net	# sites. 
#0.0.0.0 ebay.doubleclick.net		# may interfere with ebay
#0.0.0.0 google-analytics.com			# breaks some sites
#0.0.0.0 ssl.google-analytics.com
#0.0.0.0 www.google-analytics.l.google.com
#0.0.0.0 stat.livejournal.com		# There are reports that this may mess 
 					# up CSS on livejournal
#0.0.0.0 stats.surfaid.ihost.com	# This has been known cause 
					# problems with NPR.org
#0.0.0.0 www.google-analytics.com		# breaks some sites
#0.0.0.0 ads.imeem.com		# Seems to interfere with the functioning of imeem.com
#</maybe-spy>

I wonder if it would be possible to activate/deactivate some ranges like that:

sudo adblock --with-range maybe-spy

I'm not sure about the syntax but hopefully you get the point :)

Retire software?

Should adblock be retired, and suggest switching to https://github.com/StevenBlack/hosts? It seems to have almost all of the features of this piece of software, and more.

What is missing:

  • Updates autodetection. Ok, I can live with that.
  • Ability to switch off the blocks in one line. That's annoying.

Support Debian

  • silently check for presence of sw_vers before calling it
  • find equivalent of date -j

โ€” thanks @asciimoo!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.