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
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  Marketing Rhino Instagram v1 landing page? 4eller 0 102 2017-09-03, 07:08 AM
Last Post: 4eller
  Landing page movie Needed Krymi15 0 232 2017-08-04, 03:03 PM
Last Post: Krymi15
  HELP/Request Landing Page Private 1 371 2017-06-12, 06:00 AM
Last Post: Watt
  <HELP/REQUEST> Landing Page LordCommander 1 603 2017-02-05, 11:33 AM
Last Post: Antonio
  [HELP/REQUEST] Landing page Deea 7 955 2017-01-23, 12:02 PM
Last Post: durchi92




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

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