Giter VIP home page Giter VIP logo

magisk-ad-blocking-module's Introduction

A Magisk Advertisement Blocker Module

The module was made for personal use but since it was really good for daily use I decided to make it public.

Android Downloads Release Stars Donate

Features

  • Blocks Ads
  • Blocks Porn Sites
  • Blocks Android Apps Ads

Download

Updates

The module would be updated if there are any major changes to the host file.

To Get Updates Faster Join The Telegram Channel

Telegram Channel

Credits

magisk-ad-blocking-module's People

Contributors

aikooo7 avatar pantsufan 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

magisk-ad-blocking-module's Issues

No opens m.vk.com

Please update your module by removing the m.vk.com domain from the host file, I can’t access the site.

0.0.0.0 m.vk.com

Can't open any of the 'sponsored' content on google

So I installed the module and all working good but when om browsing Google often there is 'sponsored' content. You click it but the page won't load.

I tried removing the module but it doesn't solve my issue, my best guess is that you get redirected to a host that is blocked, preventing the you from redirecting.

I added pictures as an example

Screenshot_20230131-134829_Google
Screenshot_20230131-134817_Chrome

It does not work

I installed the module, after restarting I open soundcloud and the ads are still there.
I haven't tried anything else.

Took my root permission

After installing the module using the magisk app, the module took my root permission from the Redmi Note 10s device Also deleted my recovery twrp

Buisness of Magisk, make millions out of it

Hi I am Anshu Mishra, Currently running 2 startups in India and they are profitable, I am quite interested in doing one with you on Magisk-ad-blocker Application. We can reach a good number of people if you take my business advices, I am ready to be your partner, You handle the tech and I the business, but first we need to talk so here's one of my Linkedin profile Link or you can mail me at - [email protected]

Quick Question

Can I unzip the module, edit the hosts file, zip it again and then flash it? Or is there some special process to make the zip flashable. I find this module much more sufficient than using DNS66 or Adaway.

does not install

I downloaded the extension but it doesn't install through magisk

some how do you install the extension?

T145/black-mirror

good work on keeping module updated .. thought I'd share this for your host file .. hope its helpful🙏

https://github.com/T145/black-mirror

Attributes

Produced in domain-only, IPv4-only, IPv4-CIDR-only, and IPv6-only builds.
Updates at 1:27 AM & PM UTC.
No excess or trailing whitespace.
No lingering webscraper garbage.
Lines are terminated with lf.
No blank lines.
No comments.

Close after reading

File missing

The 'master' hosts file is missing on the server.

curl https://raw.githubusercontent.com/pantsufan/Magisk-Ad-Blocking-Module/master/hosts
404: Not Found

Ads not blocked.

Ads blocking does not work in the app Batteryguru v2.2.5.1 for both AdBlock v3.19 & v3.20 while it still works for AdBlock v3.18.

Magisk update module

Add update.json to update via magisk app

  • module.prop
updateJson=https://raw.githubusercontent.com/pantsufan/Magisk-Ad-Blocking-Module/master/update.json
  • update.json
{
    "version": "v3.15",
    "versionCode": 7,
    "zipUrl": "https://github.com/pantsufan/Magisk-Ad-Blocking-Module/releases/latest/download/BlockAds-v3.15.zip",
    "changelog": "https://raw.githubusercontent.com/pantsufan/Magisk-Ad-Blocking-Module/master/changelog.md"
}
  • In zipUrl just need to change the name of the zip ("releases/latest" gets the latest version)

Still not working

Hi, the recent 3.19, 3.20 & 3.21 just doesn't work at all. Seems like you have abandoned developing this module or don't care about fixing it

Mommy management issues

when use this module i tried it in more than five roms still same problem ram management will broke when disable it every thing fine any fix ?

bug

Chrome Google ads still. Also YouTube

trojan

Microsoft Defender detected this
Снимок экрана (47)
:

YouTube app

It doesn't works on YouTube app? I installed it and ads on YouTube are still there. TT

Issues when installed with Kernel SU

The default functionality of the module works fine with Kernel SU. But the add and remove options do not work. The reason for this is the lack of access to /etc/hosts file.

Remove porn hosts

Wtf.. remove the fucking porn list. It's important. Is there a way to whitelist it?

Ad blocker not working

I installed the module in magisk but the ad blocker isn't working. So I replaced the hosts file with the one on github (updated yesterday) but still no ads are being blocked anywhere, neither website ads nor in any app.

/etc/hosts not being modified

I have tried using 2.11, 2.10, 2.9, and 2.8 installed with Magisk 27 and lsposed. The hosts file is not being updated i.e. using 'cat /etc/hosts' prints the 2 default hosts entries.

QUICK_FIX (i am not responsible for any damages caused by not following precautions of being root):
Since this is a magisk module it is safe to assume that root privileges are possible.

  • Get root in termux with su
  • Download the latest module on your phone and unzip it
  • the AdBlock hosts file is 'system/etc'/hosts in the downloaded zip and rename it to something just to be safe. I used adblockhost
  • cd to the 'system/etc' directory in the extracted zip folder
  • 'su cat adblockhost >> /etc/hosts'

I am repeating myself. Be very careful as a slight typo has a chance to ruin your phone. I will not be held responsible for that. This is just a quick fix till the repo author's scripts are fixed

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.