samedi 24 septembre 2016

Force an infinite scroll page to load several pages

There's a page that has infinite scroll and it loads the next page when you scroll to the bottom of the current page, like twitter and facebook.

I want to force the page to load several pages instead of just one every time I reach the bottom.

I see in chrome's console that something new pops up into the elements and then disappear almost immediately. I managed to capture some of that element before it disappeared: <iframe class="hidden_elem" name="transport_frame_9" src="/ajax/pagelet/... , The number in transport_frame_9 increases on every load.

Also I tried to look in the <script> tags of the page for clues but couldn't find anything useful.

Is it even possible to invoke this script to load several pages? Or maybe there's a way to fool the page to think I reached the bottom several times? Like setting a some scrolledToBottom property to true?




Aucun commentaire:

Enregistrer un commentaire