Code Monkey home page Code Monkey logo

betterfilter's Introduction

BetterFilter

A root-free adblocker and content filter for android, with anti-bypass.

How it works

Anti-Bypass

To ensure that the user can't just get around the filter by uninstalling the app, we make the app a device admin. Users can still just disable admin rights to any app they want, so we also add "accessibility" features that detect when a user is in the settings pages to disable admin rights or accessibility permission and redirects to a password login in our app.

Users can also just disconnect from the VPN, but we ensure that the VPN continually reconnects itself every time it disconnects, similar to how "Hosts Go" works.

Anti-Anti-Bypass

There will always be a way to get around a user app that tries to stop itself from being disabled. This is a bad thing for our app's functionality, but a necessary thing for security (imagine a piece of malware that stops itself from being uninstalled!). Nevertheless, this method is a good tradeoff, as much of our target audience won't know how to use ADB.

adb shell settings put secure enabled_accessibility_services com.betterfilter/PolicyAdmin

Chrome is really, really slow after changing networks

https://www.xda-developers.com/fix-dns-ad-blocker-chrome/

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.