This project provides a PowerShell script to block ads system-wide by updating the system's hosts
file.
- Downloads and updates the
hosts
file from the StevenBlack/hosts repository. - Cross-platform support for Windows and Unix-based systems.
- Flushes DNS cache for immediate effect.
- Clone the repository:
git clone https://github.com/YourUsername/System-Wide-Ad-Blocker.git
Navigate to the src directory: bash Copy code cd System-Wide-Ad-Blocker/src
Run the script: powershell Copy code ./main.ps1