view raw
pb_ng pb_ng - 9 months ago 54
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 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


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.