javascript - Loading sequential web pages in a browser -
this question has answer here:
i can't find meets needs here have simple answer.
i want browser load pages 1 after other, i.e. www.sitename.com/page 0405
, www.sitename.com/page 0406
etc, variable interval.
i don't need other above. want visit each sequentially-numbered page in succession.
onload
triggered when element loads. put iframe , load next page every time onload triggers.
var = 0 var iframe = document.queryselector('iframe') iframe.onload = function() { iframe.src = 'http://www.sitename.com/page'+i i++ } iframe.onload()
Comments
Post a Comment