Giter VIP home page Giter VIP logo

ad-hosts-'s Introduction

AD hosts

依然的爱/AiSauce

替换hosts文件屏蔽广告

本项目永远免费,且开源

如果你看到以任何收费形式内置本hosts的ROM/模块,请告诉我

介绍

替换hosts屏蔽广告。由于hosts工作机制有部分的广告无法通过hosts来进行屏蔽,以优酷为例,优酷的视频广告和视频内容一起放在同一个域名里如果屏蔽该域名那么视频也会无法观看。

安装模式区别

  • systemless模式:使用Magisk目录不修改系统文件,卸载还原原文件,重启生效重启前的文件。

  • system模式(仅支持system解锁设备):使用系统目录直接修改原文件,模块刷入时备份系统hosts至/sdcard/Android/ADhosts,卸载还原备份,文件实时应用。

定时更新(默认关闭)

  • 控制开启与关闭,将Cron.ini中的regular_update参数修改为on/off,然后执行Regular_update.sh便可切换工作状态

  • 修改/sdcard/Android/ADhosts/Cron.ini中的参数后执行Regular_update.sh以应用,更新时间的填写规则请参考Cron.ini内描述

注意

本模块的工作目录为/sdcard/Android/ADhosts 内部文件为:

  • Start.sh手动更新脚本
  • Regular_update.sh定时更新状态切换脚本
  • Cron.ini定时更新参数配置文件
  • syshosts.bak系统hosts文件备份仅在system模式下存在,请在不要对它做任何改动
  • update.log更新日志

使用本模块请关闭其它带有hosts文件的模块,请关闭systemless hosts模块(如果有)。

链接

黑名单

无法再用hosts屏蔽广告的名单

捐赠名单

捐赠后请在酷安私信我并附上截图我会将你的ID加入捐赠名单中。

ad-hosts-'s People

Contributors

e7kmbb avatar redleaf007 avatar topjohnwu avatar

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.