HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
marlabrizel
genius-blocker
Ruby2016–2016
marlabrizel / genius-blocker

genius-blocker

Rack Middleware to block News Genius annotations

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

What to know before exploring

What it is

Rack Middleware to block News Genius annotations

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, 3:56:07 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: 2016-04-01 13:37:56 UTC to 2016-04-01 19:38:46 UTC.

012016-04-01 13:00:00 UTC to 2016-04-01 14:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 1, 13:002016-04-01 14:00:00 UTC to 2016-04-01 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-04-01 15:00:00 UTC to 2016-04-01 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-04-01 16:00:00 UTC to 2016-04-01 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 1, 16:002016-04-01 17:00:00 UTC to 2016-04-01 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-04-01 18:00:00 UTC to 2016-04-01 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-04-01 19:00:00 UTC to 2016-04-01 20:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 1, 19:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

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
Apr 1, 13:002016-04-01 13:00:00 UTC2016-04-01 14:00:00 UTC110
Apr 1, 14:002016-04-01 14:00:00 UTC2016-04-01 15:00:00 UTC000
Apr 1, 15:002016-04-01 15:00:00 UTC2016-04-01 16:00:00 UTC000
Apr 1, 16:002016-04-01 16:00:00 UTC2016-04-01 17:00:00 UTC000
Apr 1, 17:002016-04-01 17:00:00 UTC2016-04-01 18:00:00 UTC000
Apr 1, 18:002016-04-01 18:00:00 UTC2016-04-01 19:00:00 UTC000
Apr 1, 19:002016-04-01 19:00:00 UTC2016-04-01 20:00:00 UTC101

What Hacker News says

2 sources
I'm no JS expert[1] but this doesn't look correct: # https://github.com/marlabrizel/genius-blocker/blob/master/lib/genius/blocker.rb#L11 var annotated = window.location.href.indexOf("genius.it/") != -1; if (annotated) { window.location.href = window.location.href.replace("genius.it/", "") } Wouldn't this match any instance of "genius.it" throughout the URL, not just at the beginning? For example it'd match "https://example.com/blog/how-to-block-genius.it" and redirect the user to a (probably) non-existent link with that string removed. [1]: I just play one on HN.
In Code to block unwanted News Genius annotations

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.