1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Make iMacros in Firefox scroll to bottom of page?

Discussion in 'Other Scripting Languages' started by Scorpion Ghost, Mar 27, 2015.

  1. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,026
    Likes Received:
    218
    Occupation:
    Internet!
    Location:
    On the Interwebz
    Home Page:
    So I'm having an issue that I'm hoping someone can help me with.

    I need to find a way for the Macro to make the page scroll to bottom.

    The reason is, well, it's a nice thing to know, because I never know when I may need this.

    But specifically in this case I need it for a Twitter unfollow script. I have a script for it and it works fine, but it doesn't scroll to the bottom so that more profiles are loaded, which interferes with real automation.

    Hope someone can help.

    Thanks.
     
  2. sashablack

    sashablack Elite Member

    Joined:
    Jan 8, 2010
    Messages:
    3,697
    Likes Received:
    2,059
    Gender:
    Male
    • Thanks Thanks x 1
  3. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,026
    Likes Received:
    218
    Occupation:
    Internet!
    Location:
    On the Interwebz
    Home Page:
  4. Masterptc

    Masterptc Regular Member

    Joined:
    Aug 9, 2011
    Messages:
    419
    Likes Received:
    604
    Home Page:
    Scroll top
    Code:
    URL GOTO=javascript:window.scrollBy(0,-5000)
    
    Scroll bottom
    Code:
    URL GOTO=javascript:window.scrollBy(0,5000)
    
     
    • Thanks Thanks x 4
  5. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,026
    Likes Received:
    218
    Occupation:
    Internet!
    Location:
    On the Interwebz
    Home Page:
    Thank you Masterptc, that did the trick.

    Thank you both :)

    I love BHW
     
    • Thanks Thanks x 1