News for hackers. Stuff that matters.
Re:Code to block unwanted News Genius annotations by runandcode on Friday April 01, 2016 @01:03PM (#11406459)
Hey colinbartlett, OP here.

Definitely a good point. Interestingly, I didn't set out intending to use JS to solve this problem. I wanted to use Rack to intercept the request and check the headers and proceed from there. However, when I was playing around with it in Request Bin, I noticed that Genius actually modifies the URL so that there is no reference to them anywhere in the headers. This is generally poor etiquette and forced me to modify my approach.

Thanks for your comment!

Re:Code to block unwanted News Genius annotations by sbierwagen on Friday April 01, 2016 @01:04PM (#11406465)
Click the "reply" link on a comment to reply to that comment.