typpo/ad-detector — pull request #24 by kmeisthax (2014-10-11 15:45:03+00:00)
Title: Keep Daily Beast from warning about infinite-scroll-loaded articles.

The sponsor detection is probably worthless at this point - the example I uploaded is sponsored by Lenovo, but it uses the category name as the sponsor, even though that category has both articles and native advertising. The original example disclosed the sponsor in the category, but the new example doesn't. In fact, for Lenovo ads, the only consistent thing I could see is that there's a Lenovo logo in there, but it's an image with alt tag "lenovo-inline-from", which is inconsistently placed, and not a reliable method of sponsor detection.

Also, this is a bit of a hack, in that we're intentionally silencing warnings about infinitely-scrolled content. The underlying issue is that when you request a page from Daily Beast, they're actually loading three or four other articles which may or may not be native advertising. I do not believe we have APIs for this.