internetarchive/umbra — pull request #36 by vonrosen (2014-12-20 01:16:24+00:00)
Title: Allow scrolling down a timeline in the facebook plugin so as to capture content in third party embedded timelines.

Enhancement is to allow capturing infinite scroll on the "likebox" facebook plugin, which is embedded in third party sites (example at: https://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FRep.HenryWaxman&show_faces=false&stream=true&header=false&width=284&frameborder=0&height=395 which is embedded in http://waxman.house.gov/ (right side)).

The css selector for the scrolling element in the plugin should be unique to just the plugin url so scrolling within this element should never happen on a "normal" facebook page. The plugin creates an iframe in which there is a div with scrollbars. This enhancement will detect its existence and then start scrolling until it detects an "end" condition (either the top has been scrolled as far as the div's height or there have been 5 attempts to scroll which haven't changed the top position).

I did a "normal" facebook crawl and there didn't seem to be any regressions to scrolling down a timeline. Not sure if there should be a separate behavior js for this behavior since it is very separate from the normal facebook page...