Giter VIP home page Giter VIP logo

Comments (9)

aviraxp avatar aviraxp commented on May 26, 2024

I will introduce this feature later, that needs some time because I have to workaround the limitation Xposed brings (cannot generally read /data when module loads). But for now, I am working on other features.

from adblocker_reborn.

aviraxp avatar aviraxp commented on May 26, 2024

I have told where my hosts is made. You can check into the open-source licenses in app and you will see them.

from adblocker_reborn.

mikhaelkh avatar mikhaelkh commented on May 26, 2024

I haven't installed it yet, but I'm looking forward to test it. Anyway, list of host sources or screenshot in Readme.md would be nice.

from adblocker_reborn.

sm4rk0 avatar sm4rk0 commented on May 26, 2024

I think you can find it here:
https://github.com/aviraxp/AdBlocker_Reborn/blob/master/tools/rules2regex.py#L37

from adblocker_reborn.

mikhaelkh avatar mikhaelkh commented on May 26, 2024

@sm4rk0 I see that this module is mainly oriented for people in China. Maybe this'll change in the future, the module is really promising.
@aviraxp take a look at https://github.com/StevenBlack/hosts

from adblocker_reborn.

aviraxp avatar aviraxp commented on May 26, 2024

First, the regex list you mentioned is not only aimed at Chinese users. I use it because the regex filter can cause a lot of performance issue when there are many rules, and this is the only list which is kind of universal and short.

Second, as for hosts, I am afraid thousands of lines of hosts will cause performance issue as well. I want to keep it below 2W lines and still effective. I am still searching for good hosts source with the license to use it.

from adblocker_reborn.

mikhaelkh avatar mikhaelkh commented on May 26, 2024

@aviraxp in that case maybe hosts file support is unnecessary functionality, because AdAway handles large hosts files just fine. You still haven't told whether root is needed for this module or not. What's wrong with license at https://github.com/StevenBlack/hosts ?

from adblocker_reborn.

aviraxp avatar aviraxp commented on May 26, 2024
  1. I do not modify system hosts file, thus root access is not needed. So why can this module handle hosts filter? Because I hook several fundamental methods that one app is needed generally to access network (not all). It is the restriction of Xposed itself that causes such performance issues.

  2. This hosts file is just a hosts 'repo'. Whether I have the license to use the hosts file is uncertain and not handled by Steven Black. For example, the MVPS hosts do not allow to modify the hosts file or redistribute it. Hostsfile.org hosts do not allow to redistribute it. From some case, Steven Black himself is against the rules.

from adblocker_reborn.

mikhaelkh avatar mikhaelkh commented on May 26, 2024

@aviraxp thanks for the info. In that case maybe it would be best to have user download hosts files manually like in AdAway, if the module can handle such amount of lines. If not, leave it as is, like a bonus functionality or use root access to speed up handling hosts (I'm not sure if the latter is possible without modifying hosts file).

from adblocker_reborn.

Related Issues (20)

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.