Top Related Projects
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
AdAway is a free and open source ad blocker for Android.
AdGuard Content Blocking Filters
uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
A black hole for Internet advertisements
YouTube script to add the new Ads list for Pi-hole
Quick Overview
GoodbyeAds is a curated host file designed to block ads, trackers, and malware across various platforms. It aims to provide a comprehensive and regularly updated solution for users seeking to enhance their online privacy and browsing experience by blocking unwanted content.
Pros
- Extensive coverage: Blocks a wide range of ads, trackers, and malware sources
- Regular updates: Maintained and updated frequently to stay effective against new threats
- Cross-platform compatibility: Works on various devices and operating systems
- Customizable: Offers different versions tailored for specific needs (e.g., Samsung, Xiaomi)
Cons
- May block some legitimate content: Aggressive blocking can sometimes interfere with desired functionality
- Requires manual installation and updates: Users need to manually apply and update the host file
- Potential performance impact: Large host files may slow down DNS resolution on some devices
- Limited granular control: Users can't easily whitelist specific domains without editing the file
Getting Started
To use GoodbyeAds:
- Download the desired host file from the GitHub repository.
- For Android (rooted):
- Copy the host file to
/system/etc/hosts
- Set permissions to
rw-r--r--
- Copy the host file to
- For other platforms:
- Refer to your operating system's instructions for modifying the hosts file
- Reboot your device or flush DNS cache
- Consider using ad-blocking apps or DNS services that can directly use these lists for easier management
Note: Always backup your original hosts file before making changes. Modifying system files can potentially cause issues if not done correctly.
Competitor Comparisons
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
Pros of hosts
- More comprehensive blocklist with multiple categories and combinations
- Regularly updated with contributions from a large community
- Extensive documentation and clear instructions for customization
Cons of hosts
- May be overly aggressive for some users, potentially blocking desired content
- Larger file size due to comprehensive nature, which may impact performance on some devices
- Requires more frequent updates to maintain effectiveness
Code comparison
hosts:
0.0.0.0 example.com
0.0.0.0 ads.example.com
0.0.0.0 tracking.example.com
GoodbyeAds:
0.0.0.0 example.com
0.0.0.0 ads.example.com
Key differences
- hosts offers more granular control with various combinations of blocklists
- GoodbyeAds focuses specifically on mobile ads and tracking
- hosts has a larger community and more frequent updates
- GoodbyeAds is more lightweight and may be easier to implement on mobile devices
Both projects aim to block ads and improve privacy, but they differ in scope and target audience. hosts is more suitable for users seeking comprehensive protection across multiple devices, while GoodbyeAds is tailored for mobile users looking for a simpler, lightweight solution.
AdAway is a free and open source ad blocker for Android.
Pros of AdAway
- Open-source Android app with a user-friendly interface
- Supports both rooted and non-rooted devices
- Allows custom host files and whitelist/blacklist management
Cons of AdAway
- Requires more manual configuration
- May not block as many ads as GoodbyeAds out of the box
- Updates to the host file are less frequent
Code Comparison
AdAway (Java):
private void applyHostsFile() {
if (ApplyUtils.isSymlinkSupported()) {
// Apply hosts file using symlink
} else {
// Apply hosts file using copy method
}
}
GoodbyeAds (Shell script):
#!/system/bin/sh
# GoodbyeAds installation script
mount -o rw,remount /system
cp -f $MODPATH/system/etc/hosts /system/etc/hosts
mount -o ro,remount /system
Both projects aim to block ads on Android devices, but they use different approaches. AdAway is a full-fledged Android application with a GUI, while GoodbyeAds is primarily a collection of host files with installation scripts. AdAway offers more flexibility and customization options, whereas GoodbyeAds provides a more straightforward, "set-and-forget" solution with extensive pre-configured blocklists.
AdGuard Content Blocking Filters
Pros of AdguardFilters
- More comprehensive and regularly updated filter lists
- Supports multiple platforms and browsers
- Larger community and more frequent contributions
Cons of AdguardFilters
- More complex structure, potentially harder for beginners to navigate
- May include some false positives due to its extensive coverage
- Larger file size, which could impact performance on low-end devices
Code Comparison
AdguardFilters:
! Title: AdGuard Base filter
! Description: EasyList + AdGuard English filter
! Version: 2.1.54.80
! TimeUpdated: 2023-04-20T12:37:49+00:00
! Expires: 4 days (update frequency)
GoodbyeAds:
# Title: GoodbyeAds Samsung Adblock Extension
# Description: Blocks Samsung Ads, Tracking & Analytics
# Last modified: 2023-04-20
# Version: 3.2.1
Both repositories provide ad-blocking filter lists, but AdguardFilters offers a more extensive and diverse set of filters for various platforms. GoodbyeAds focuses primarily on mobile ad-blocking, especially for Samsung devices. AdguardFilters has a larger community and more frequent updates, while GoodbyeAds offers a simpler structure that may be easier for beginners to understand and customize. The code comparison shows that both projects use similar header formats, but AdguardFilters includes more detailed information about update frequency and expiration.
uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
Pros of uBlock
- More comprehensive ad-blocking and privacy protection features
- Highly customizable with advanced filtering options
- Actively maintained with frequent updates and improvements
Cons of uBlock
- Steeper learning curve for non-technical users
- May require more system resources due to its extensive features
Code Comparison
uBlock (content blocker):
µBlock.staticNetFilteringEngine.fromCompiledContent(compiledFilters, writer);
GoodbyeAds (hosts file):
0.0.0.0 ad.example.com
0.0.0.0 tracking.example.com
Key Differences
- uBlock is a full-featured content blocker, while GoodbyeAds primarily focuses on host-based ad blocking
- uBlock offers a browser extension, whereas GoodbyeAds provides hosts files for system-wide blocking
- uBlock allows for more granular control and custom rule creation, while GoodbyeAds offers a simpler, pre-configured approach
Use Cases
- uBlock: Ideal for users who want comprehensive control over their browsing experience and are comfortable with advanced settings
- GoodbyeAds: Better suited for users looking for a simple, system-wide ad-blocking solution without the need for browser-specific extensions
Community and Support
- uBlock has a larger user base and more active community support
- GoodbyeAds benefits from being part of the broader host-based ad-blocking ecosystem
A black hole for Internet advertisements
Pros of Pi-hole
- Comprehensive network-wide ad blocking solution
- Extensive customization options and web interface
- Active community and regular updates
Cons of Pi-hole
- Requires dedicated hardware (e.g., Raspberry Pi) or virtual machine
- More complex setup process
- May require additional configuration for mobile devices
Code Comparison
Pi-hole (gravity.sh):
gravity_ShowHelp() {
echo "Usage: pihole -g
Update blocklists, restarts DNS server
Options:
-f, --force Force the download of all specified blocklists
-h, --help Show this help dialog"
exit 0
}
GoodbyeAds (update.sh):
#!/bin/bash
cd "$(dirname "$0")"
python3 update.py
Summary
Pi-hole offers a more comprehensive ad-blocking solution with extensive customization options, but requires dedicated hardware and a more complex setup. GoodbyeAds provides a simpler, host file-based approach that's easier to implement but may have limited features compared to Pi-hole. The code comparison shows that Pi-hole has more complex scripts with additional options, while GoodbyeAds uses a simpler update process.
YouTube script to add the new Ads list for Pi-hole
Pros of youTube_ads_4_pi-hole
- Specifically targets YouTube ads, potentially more effective for this use case
- Regularly updated with new ad domains
- Includes scripts for automatic updates and integration with Pi-hole
Cons of youTube_ads_4_pi-hole
- Limited scope, focuses only on YouTube ads
- May require more manual configuration and maintenance
- Potential for false positives due to aggressive blocking
Code Comparison
youTube_ads_4_pi-hole:
#!/usr/bin/env python3
import requests
import re
def fetch_domains():
url = "https://raw.githubusercontent.com/kboghdady/youTube_ads_4_pi-hole/master/youtubelist.txt"
response = requests.get(url)
return response.text.splitlines()
GoodbyeAds:
#!/bin/bash
curl -s https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt | grep '^0\.0\.0\.0' | awk '{print $2}' > goodbyeads_domains.txt
The youTube_ads_4_pi-hole project uses Python to fetch and process domains, while GoodbyeAds uses a simple bash script. GoodbyeAds has a more comprehensive approach, blocking ads across various platforms, not just YouTube. It also includes additional features like protection against malware and phishing domains. However, youTube_ads_4_pi-hole may be more effective for users specifically targeting YouTube ads and preferring a more focused solution.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
GoodbyeAds - Wðrld of Ads Free Internet
Features
- small in size: The complete host list size is less then 5mb.
- Host file: Based on
hosts
file, all the bad domains are blocked with0.0.0.0
- Any device: Compatible with all devices, regardless of OS.
- Blockings: Strictly blocks
advertisements, malwares, spams, spyware & trackers
and prevents your system from connecting to them. - Page load time: Quicker loading and cleaner looking web pages with fewer distractions.
- Privacy: Helps to
increase
privacy by blocking online trackers. - Efficient: Lower resource waste (bandwidth, CPU, memory, battery etc.).
- Curated: Each domain and tested and verified before adding to the list.
- Well maintained: Domains are regularly updated and false positives will be addressed quickly.
- Mirror: All the files are available in mirror which provides
Last-Modified
header.
Who can use this file?
These host files for Unix-like systems, the list contain domains that serve ads, tracking scripts and malware after adding this list to your setup, it prevents your system from connecting to them. Host file preferred over DNS so if a domain name is resolved by the hosts file, the request never leaves your computer.
Lists
GoodbyeAds
A programmatically expanded list of hosts used for advertisements, Malware and tracking. Use this list to block ads trackers malwares. This is my primary list and I recommend using it.
Format | Links | Can be used for |
---|---|---|
Hosts | Link Mirror | Blocky, eBlocker, AdAway, Blokada, RethinkDNS, uMatrix, DNS66, GasMask, HostFileEditor, OpenSnitch, NetGuard, PiHole, Blocky, eBlocker, Diversion, OpenSnitch, PersonalDNSfilter, pfBlockerNG, PersonalBlocklist, TechnitiumDNS |
Adblock | Link Mirror | AdGuard, AdGuard Home, eBlocker, uBlock, AdBlock, AdBlock Plus, Opera, Vivaldi, Brave, TechnitiumDNS |
Xiaomi Adblock
A well maintained list containing Xiaomi hosts used for advertisements and tracking. Those who are not using GoodbyeAds list and want to block only Xiaomi ads and tracking can use it.
Format | Links | Can be used for |
---|---|---|
Hosts | Link Mirror | Blocky, eBlocker, AdAway, Blokada, RethinkDNS, uMatrix, DNS66, GasMask, HostFileEditor, OpenSnitch, NetGuard, PiHole, Blocky, eBlocker, Diversion, OpenSnitch, PersonalDNSfilter, pfBlockerNG, PersonalBlocklist, TechnitiumDNS |
Samsung Adblock
A well maintained list containing Samsung hosts used for advertisements and tracking. Those who are not using GoodbyeAds list and want to block only Samsung ads and tracking can use it.
Format | Links | Can be used for |
---|---|---|
Hosts | Link Mirror | Blocky, eBlocker, AdAway, Blokada, RethinkDNS, uMatrix, DNS66, GasMask, HostFileEditor, OpenSnitch, NetGuard, PiHole, Blocky, eBlocker, Diversion, OpenSnitch, PersonalDNSfilter, pfBlockerNG, PersonalBlocklist, TechnitiumDNS |
Spotify Adblock
A well maintained list containing Spotify hosts used for advertisements. This list helps to block/reduce Spotify ads.
Format | Links | Can be used for |
---|---|---|
Hosts | Link Mirror | Blocky, eBlocker, AdAway, Blokada, RethinkDNS, uMatrix, DNS66, GasMask, HostFileEditor, OpenSnitch, NetGuard, PiHole, Blocky, eBlocker, Diversion, OpenSnitch, PersonalDNSfilter, pfBlockerNG, PersonalBlocklist, TechnitiumDNS |
YouTube Adblock
A well maintained list containing YouTube hosts used for advertisements. This list helps to block/reduce YouTube ads.
Format | Links | Can be used for |
---|---|---|
Hosts | Link Mirror | Blocky, eBlocker, AdAway, Blokada, RethinkDNS, uMatrix, DNS66, GasMask, HostFileEditor, OpenSnitch, NetGuard, PiHole, Blocky, eBlocker, Diversion, OpenSnitch, PersonalDNSfilter, pfBlockerNG, PersonalBlocklist, TechnitiumDNS |
Adblock | Link Mirror | AdGuard, AdGuard Home, eBlocker, uBlock, AdBlock, AdBlock Plus, Opera, Vivaldi, Brave, TechnitiumDNS |
Usage
This host file can be used on any device including Android, iOS, Linux, MacOS, routers with custom firmware etc.
- Rooted Android: For rooted device, this host file can be used with
AdAway
, a free and open-source ad-blocker for Android. - Non-rooted Android: For non-rooted devices, you can use
Blokada
,DNS66
,Nebulo
,Personal DNS Filter
,RethinkDNS + Firewall
orAdAway
- iOS: You can use
Blokada
- MacOS: This host file can be used with
gasmask
. - Windows: On Windows, you can use
HostsMan
to get the best Windows Hosts Usage Experience. Make sure to disable DNS Client Service. - Linux: There are many scripts available on the Internet that will add the hosts to you. Or you can modify the
/etc/hosts
. - DNS based adblockers: These files are compatible with DNS based adblockers such as
Pi-hole
andAdGuardHome
. - Adblockers: This list is compatible with
uBlock
,AdGuard
or any other extension, software & app.
Online DNS Services
RethinkDNS - free
Blocklists | DNS-over-HTTPS | DNS-over-TLS | Apple Mobileconfig |
---|---|---|---|
GoodbyeAds | https://sky.rethinkdns.com/1:gAAAAQ== | 1-qaaaaai.max.rethinkdns.com | Visit and click on the red apple |
https://max.rethinkdns.com/1:gAAAAQ== |
ControlD - free/paid
Blocklists | DNS-over-HTTPS | DNS-over-TLS/QUIC |
---|---|---|
GoodbyeAds | https://freedns.controld.com/x-goodbyeads | x-goodbyeads.freedns.controld.com |
AhaDNS - free
Blocklists | DNS-over-HTTPS |
---|---|
GoodbyeAds | https://blitz.ahadns.com/1:17 |
Validation
Below is an image that says 'Not Blocking' that is blocked in all of my lists. If you see it, then you are not using one of my lists. If you do not see it, then you are using one of my lists (or a list that includes one of my lists).
Featured in:
This project is also available in many host file aggregators and other services.
Documentation
Connect with us
ð« goodbyeads@protonmail.com
Support
Maintaining a quality blocking project takes a lot of time. GoodbyeAds is completely independently funded. We fight for our users. This does mean however that we also have to spend our owns to pay the bills. This is where you can help: by chipping in you can ensure more time is spent improving GoodbyeAds rather than dealing with distractions.
This donation is for our services, not for any pack, resource or any other mean. Your support will help us keep the project running and provide you quality service.
Disclaimer
Goodbye Ads Hosts are basically hosts
files to block access to domains. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backups.
Made with â¤ï¸ in Kerala ð´
Top Related Projects
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
AdAway is a free and open source ad blocker for Android.
AdGuard Content Blocking Filters
uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
A black hole for Internet advertisements
YouTube script to add the new Ads list for Pi-hole
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot