Git Product home page Git Product logo

adblock's People

Contributors

dartraiden avatar teffalump 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

Watchers

 avatar  avatar  avatar  avatar  avatar

adblock's Issues

YouTube ads block list

Do you have any recommendations on what list to use to block YouTube ads on my router? Default list blocks everything fine except YouTube

Adblock over VPN without DNS leaks

I have my router connected to a VPN provider.

Running adblock for the first time:

root@OpenWrt:~# sh /etc/adblock.sh -f
iptables-mod-nat-extra is installed!
Updating config...
HINT: localservice is set to 1
    Adblocking (and router DNS) over a VPN may not work
    To allow VPN router DNS, manually set localservice to 0
Downloading hosts lists...

As suggested, I then changed

     option localservice '1'

to

      option localservice '0'

in /etc/config/dhcp

This results in a DNS leak. Can you think of a way around this? What would you recommend?

iptables-mod-nat-extra 15.05 rc3

Installing iptables-mod-nat-extra...
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-nat-extra:
  •  kernel (= 3.18.17-1-5dcb66d04a38219f7fd91c748f0e9a32) *
    
  • opkg_install_cmd: Cannot install package iptables-mod-nat-extra.

15.05 rc3 is 3.18.20

Does this mean I need wait for a updated iptables-mod-nat-extra to get it work?

Add OpenWrt package

Would be nice if this were an OpenWrt package. Wouldn't be hard to do if the author is interested.

Ads not blocked

I downloaded and installed your script per the readme instructions. Everything appears to run fine (minus one "uci: Entry not found" line), but no ads are actually blocked. I checked /etc/config/dhcp and the block.hosts line is there so I don't know what's wrong.

Any ideas on how to troubleshoot? I'm running a persistent OpenVPN connection and all traffic is routed through said connection, if that makes any difference.

Syntax error

I get the following output when toggling the script (in either direction)

root@OpenWrt:/etc# ./adblock.sh -t
Turning on!
Updating config...
uci: Parse error (unterminated ') at line 4, byte 20
Restarting firewall...
Restarting dnsmasq...
Restarting uhttpd...
Restarting cron...
root@OpenWrt:/etc# nano adblock.sh

Safari issue

Hello!

I faced an issue while surfing in Safari with adblock enabled.
Some of sites are not loading, because Safari tries to load 0.0.0.0 or 127.0.0.1 (the endpoint does not matter for Safari actually) and stops load the page because can't load the elements with ads.
A solution is to modify the endpoint IP to the local IP of your router or run a simple web server locally on your mac. But it's not a good solution, because if the ads are placed on https Safari will notify you about the certificate each time and that's annoying.

Firewall on mac is enabled and I was trying to create a rules to reject the connections, but doesn't seem to help.
block return in quick on lo0 proto tcp from 127.0.0.1 to 127.0.0.1 port { http https }

Does anyone know more proper solution?

Thanks

Here is a screenshot from the web inspector http://i.imgur.com/8sXBN1N.png

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.