Code to block unwanted News Genius annotations
1–10 of 52 posts
Re: Code to block unwanted News Genius annotations
#2Personally, I might rather just add the script tag to my site's layout rather than introduce another gem dependency. But maybe if you have lots of sites to maintain, this could be preferred?
Re: Code to block unwanted News Genius annotations
#3Definitely 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
#4Hey 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 etiquet…
Re: Code to block unwanted News Genius annotations
#5Re: Code to block unwanted News Genius annotations
#6Re: Code to block unwanted News Genius annotations
#7Re: Code to block unwanted News Genius annotations
#8What is the motivation behind this? It strikes me as something like an anti-ad-blocker tool, except instead of serving to protect your sites ad revenue it's just trying to suppress free discourse about your content through a third party tool that happens to be exposed to this kind of suppression, but isn't actually invasive, and is only used by people who opt-in to it anyway. Basically it seems to me like a tool for…
I think you're severely overrating the quality of Internet comments too, and with these annotations there isn't even a report feature available to help clean them up. Genius.
Re: Code to block unwanted News Genius annotations
#9What is the motivation behind this? It strikes me as something like an anti-ad-blocker tool, except instead of serving to protect your sites ad revenue it's just trying to suppress free discourse about your content through a third party tool that happens to be exposed to this kind of suppression, but isn't actually invasive, and is only used by people who opt-in to it anyway. Basically it seems to me like a tool for…
...funded by venture capital with an expectation of hyper growth and liquidity event would not necessarily be beneficial for all users. To put it mildly.
Re: Code to block unwanted News Genius annotations
#10What is the motivation behind this? It strikes me as something like an anti-ad-blocker tool, except instead of serving to protect your sites ad revenue it's just trying to suppress free discourse about your content through a third party tool that happens to be exposed to this kind of suppression, but isn't actually invasive, and is only used by people who opt-in to it anyway. Basically it seems to me like a tool for…
The README links to the explanation: https://ellacydawson.wordpress.com/2016/03/25/how-news-geniu...