HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
anned20
begoneads
Python2019–2019
anned20 / begoneads

begoneads

BeGoneAds is a script that puts some popular hosts file lists into the systems hosts file as a adblocker measure.

2Distinct people
2Mentions
0Explicit recommenders
311GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

BeGoneAds is a script that puts some popular hosts file lists into the systems hosts file as a adblocker measure.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2019-06-10 15:07:27 UTC to 2019-06-10 15:55:18 UTC.

0122019-06-10 15:00:00 UTC to 2019-06-10 16:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsJun 10, 15:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC. One observed period does not establish a trend.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 10, 15:002019-06-10 15:00:00 UTC2019-06-10 16:00:00 UTC211

What Hacker News says

2 sources
Since accepting Host files from someone on the internet can be dangerous I dug into the code: The list of hosts to exclude comes from several sites here: https://github.com/anned20/begoneads/blob/2c90fcee221edf71f8... The actual application of the hosts file is here: https://github.com/anned20/begoneads/blob/2c90fcee221edf71f8... I missed something though. Is a simple domain name per line enough to send that content to /dev/null? I haven’t used that form in /etc/hosts. My primary concern was that this technique could be used to send ad traffic to a site that returns 404 but gathers metrics on the web regardless.
In BeGoneAds – A Python script that blocks ads by installing common hosts files

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.