Make iMacros scroll to bottom of page?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Legalien
Posts: 66
Joined: Mon Feb 15, 2016 6:47 pm
Contact:

Make iMacros scroll to bottom of page?

Post by Legalien » Sat Jul 23, 2016 10:26 pm

Hey guys,

My Specs:
OS: Windows 10
Firefox Version: 47.0.1
iMacro Version: 8.9.7


My Problem:

So this is something that used to work, but not anymore for some reason. It used to be that the following would scroll the page down:

url goto=javascript:window.scrollBy(0,5000)

Or...

url goto=javascript:window.scrollBy(0,20000)

But now they don't work. I tried googling for a solution, but all of the solutions talk about the two lines above. But they don't work anymore.


And in case it has now become a page-specific solution, and since I'm posting here, here are examples of pages I need to scroll down on:

https://twitter.com/NOCNICZEK/followers (here I just need to scroll to bottom on the page as is)

https://www.instagram.com/future_sick/ (here, please login into your Instagram account and click on either Following or Followers. This will display a sort of a popup window. And on that window I need to be able to scroll down with iMacros)


What happened guys? Why did the codes above break? They used to work, at least for the Twitter page. And how do I accomplish this now?

Thank you
Buy Social Media Services - https://Socialesale.com
iimfun
Posts: 239
Joined: Tue Jul 19, 2016 1:06 pm

Re: Make iMacros scroll to bottom of page?

Post by iimfun » Mon Jul 25, 2016 9:20 am

https://twitter.com/NOCNICZEK/followers (here I just need to scroll to bottom on the page as is)

Code: Select all

EVENT TYPE=KEYPRESS SELECTOR=* KEY=35
https://www.instagram.com/future_sick/ (here, please login into your Instagram account and click on either Following or Followers. This will display a sort of a popup window. And on that window I need to be able to scroll down with iMacros)

Code: Select all

EVENT TYPE=KEYPRESS SELECTOR="div._4gt3b" KEY=35
Legalien
Posts: 66
Joined: Mon Feb 15, 2016 6:47 pm
Contact:

Re: Make iMacros scroll to bottom of page?

Post by Legalien » Tue Jul 26, 2016 10:32 am

Both worked perfectly!

Thanks a lot :)
Buy Social Media Services - https://Socialesale.com
Post Reply