# Maza ad blocking

Maza ad blocking is a self-hosted network services app. Maza is a lightweight local ad blocker for macOS, Linux, BSD, and Windows Subsystem for Linux that filters advertising domains at the operating system level using only standard OS tools, blocking ads in every browser...

Canonical page: https://ourlocalhost.com/app/8591/maza-ad-blocking

## Description

Maza is a lightweight local ad blocker for macOS, Linux, BSD, and Windows Subsystem for Linux that filters advertising domains at the operating system level using only standard OS tools, blocking ads in every browser without extensions or third-party applications.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

58/100 (Fair), based on 4 of 5 factors.
- Maintained: 75 (last commit 4 days ago)
- Popular: 65 (1,875 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 50 (no serious findings, 17 minor)

## Links

- Official website: https://maza-ad-blocking.andros.dev/
- GitHub: https://github.com/tanrax/maza-ad-blocking

## Common questions

### How do I install or update the Maza script on a standard system?

Download the script as maza, remove any existing /usr/local/bin/maza, make maza executable, and move it to /usr/local/bin. You can then use the installed maza command to start, stop, status, or update.

### How can I make Maza refresh its blocked-domain list automatically?

Edit the root crontab and add @daily maza update. On macOS, include PATH=/bin:/usr/bin:/usr/local/bin:/opt/homebrew/bin and TERM=dumb because cron runs with a minimal environment.

### How can I check whether Maza is actually blocking a domain?

Use curl against a known ad domain such as googleadservices.com. A connection error indicates the domain is blocked, while receiving an HTML response suggests it is not blocked.

### Should I back up anything before using Maza?

The project recommends making a backup of the hosts file before changing it. You can run sudo cp /etc/hosts /etc/hosts.backup.

## Alternatives

- AdAway: An ad blocker that uses the hosts file.
- AdBlock: Blocks intrusive ads, boosts browser speed, and prevents tracking across all major browsers; supports customizable filters, Acceptable Ads,…
- AdGuard: AdGuard is the best way to get rid of intrusive ads and online tracking, and to protect your computer from malware.
- Adblock Plus: Adblock Plus is a free extension that allows you to - among other things - block annoying ads, disable tracking and block domains known to…
- Blokada: Blokada is the popular ad blocker and privacy app for Android and iOS.
- Ghostery Tracker &amp; Ad Blocker: Block ads, cookies, popups &amp; other trackers.
- NextDNS: NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised…
- Privacy Badger: Privacy Badger is a free browser extension made by the leading digital rights nonprofit EFF to stop companies from spying on you online.
- uBlock Origin: uBlock Origin (uBO) is a CPU and memory-efficient wide-spectrum content blocker.
- uBlock Origin Lite: uBO Lite (uBOL), a permission-less MV3 API-based content blocker.
- uMatrix: Point &amp; click to forbid/allow any class of requests made by your browser.

---
Source: Our Local Host (https://ourlocalhost.com/app/8591/maza-ad-blocking), the self-hosted and open-source app directory.
