How to continue my javascript loop after page reload?
2015-02-26, 01:56 AM,
#1
Im doing small script which clicks button on certain website and it works great. I also make it so that is clicks the next page of the site when clicking is complete. Then site refreshes but I want to keep my loop going. How is this possible?
Reply
Share This Thread :

2015-02-26, 05:14 PM,
#2
(2015-02-26, 01:56 AM)Heka Wrote: Im doing small script which clicks button on certain website and it works great. I also make it so that is clicks the next page of the site when clicking is complete. Then site refreshes but I want to keep my loop going. How is this possible?

There is no way to do it. Refreshing the page kills the javascript. But if you want javascript loop continue, you can use AJAX instead because it does not refresh the pages.
Reply
2015-02-26, 05:47 PM,
#3
You can set javascript execution on window load event instead of button click event
Reply
2015-02-26, 11:51 PM,
#4
(2015-02-26, 05:47 PM)lastbencher9 Wrote: You can set javascript execution on window load event instead of button click event

Im not trying to put javascript to my own site. Im putting the code to external site by console
Reply
2015-02-27, 06:23 AM, (This post was last modified: 2015-02-27, 06:23 AM by PixelBlocker.)
#5
All I could think of is setting a cookie or session with the details from where your loop should continue. Though, I don't know exactly how to do this.
Reply


Related Threads
Thread Author Replies Views Last Post
  How I load locker onclick image on the same page? Lone Wolf 4 443 2018-04-02, 09:43 PM
Last Post: Lone Wolf
  Marketing Rhino Instagram v1 landing page? 4eller 0 720 2017-09-03, 07:08 AM
Last Post: 4eller
  Landing page movie Needed Krymi15 0 686 2017-08-04, 03:03 PM
Last Post: Krymi15
  HELP/Request Landing Page Private 1 704 2017-06-12, 06:00 AM
Last Post: Watt
  <HELP/REQUEST> Landing Page LordCommander 1 836 2017-02-05, 11:33 AM
Last Post: Antonio





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top