theninjamanz 29 Posted September 2, 2013 Report Share Posted September 2, 2013 What is currently the best way for ubot to send commands to overcome the infinite scroll? An example might be this page: http://pinterest.com/popular/ Typically I would overcome this manually by hitting CTRL and page down. Thanks for your help. Quote Link to post Share on other sites
UBotDev 276 Posted September 2, 2013 Report Share Posted September 2, 2013 You could use JavaScript to scroll to the bottom: window.scrollTo(0,document.body.scrollHeight); 2 Quote Link to post Share on other sites
theninjamanz 29 Posted September 3, 2013 Author Report Share Posted September 3, 2013 Great that one, thanks! Quote Link to post Share on other sites
theninjamanz 29 Posted September 4, 2013 Author Report Share Posted September 4, 2013 This worked a treat until I wanted to do the same thing within an Ajax window that loads over the main browser window. Is there some small tweak to the Javascript that I can make that will focus the action (of page end) to the Ajax window and not the browser window behind it. I tried to use the focus command but to no aval. Thanks if you know this. Quote Link to post Share on other sites
blumi40 222 Posted September 4, 2013 Report Share Posted September 4, 2013 http://stackoverflow.com/questions/14413200/how-can-i-find-the-title-of-parent-window-in-javascripthttp://www.w3schools.com/jsref/prop_win_name.aspyou have to learn Javascript i thing Quote Link to post Share on other sites
theninjamanz 29 Posted September 4, 2013 Author Report Share Posted September 4, 2013 Thanks for the time being. Quote Link to post Share on other sites
UBotDev 276 Posted September 4, 2013 Report Share Posted September 4, 2013 Is it an Ajax or an iframe window? UBot opens iframes when website requests to open a link in a new browser, is that your case? Quote Link to post Share on other sites
semenoffalex 0 Posted September 6, 2013 Report Share Posted September 6, 2013 I have a similar question regarding scrolling. I don't have an infinite scroll, so all I need is to get to a certain element or to the end of a page. How do I do it? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.