Source code for the Downworthy plugin
This is a very rough version right now, not quite ready for prime-time, but the general gist is that of a Chrome extension (Safari and maybe FF coming soon) that replaces the absurd hyperbole of clickbait viral content sites like Buzzfeed, ViralNova, Upworthy, etc with more realistic headlines.
Visit the official plugin website at http://downworthy.snipe.net for more info, examples and roadmap.
Original text: Nothing Could Prepare Me For What’s Revealed When This Glacier Lake Melts. OMG
The code I have right now is very basic, working mostly from the fantastic Cloud-to-Butt extension, but I'll be adding in some smarter logic later to handle slightly more sophisticated English constructs.
I also need to better handle infinite scroll and progressive loading. Right now, it fires when the DOM is finished loading, and then it doesn't fire again, which means when you're stuck on one of these websites (that of course uses infinite scroll), the stuff that hasn't appeared on the page at the time of page load completion and prior to additional content being revealed won't be transformed.
And finally, I'm going to have the actual string replacement library pulling from S3, so that it updates automatically, so when I update the goods, you get them the next time you start your browser.