pb_ng pb_ng - 1 year ago 132
Javascript Question

Dealing with infinite scroll on Instagram channels

I am hoping this is the right section to post this query

I am looking for a way to navigate all the way to the bottom of instagram channel pages such as https://www.instagram.com/cars/ The page has a load more button which needs to be clicked and the page needs to be manually scrolled all the way to the bottom. Is there a faster way to get to the bottom of the page instead of having to scroll it all the way?

Many thanks

Answer Source

You can simply execute a javascript method to scroll to the bottom of the page.


This fires the scrollTo(x,y) method passing in 0 fro the x co-ordinate and document.body.scrollHeight as the y co-ordinate.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download