Jump to content
UBot Underground

Scrolldown Js Does Not Work.


Recommended Posts

Hi, Im trying to SDown using JS in http://iconosquare.com/viewer.php#/myFollowers/, but does not work.  The code Im using is:

 

run javascript("window.scrollTo(0, document.body.scrollHeight);")
 

or

 

run javascript("window.scrollBy(0,2000000)")
 

 

The problem is not the site as it self, nor the code, since Im using the same codes on imacros (firefox) and work well.....  Is the ubot the problem?  any workaround?

 

 

Link to post
Share on other sites

May be similar,

 

try.

navigate("http://v3.torontomls.net/Live/Pages/Public/Link.aspx?Key=f7aa9fac8a5b45ed9f3baa480373d09a&App=TREB","Wait")
wait for browser event("Everything Loaded","")
set(#height,$eval("var heigth =  document.body.scrollHeight;
heigth;"),"Global")
set(#loop,$divide(#height,500),"Global")
set(#loop,$add(#loop,10),"Global")
set(#i,500,"Global")
loop(#loop) {
    run javascript("javascript:window.scrollTo(0, {#i});")
    wait(0.05)
    set(#i,$add(#i,500),"Global")
}
wait(0.05)
run javascript("javascript:window.scrollTo(0, document.body.scrollHeight);")
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...