Hi, I’ve found this little script that re loads the browser
I just drop it into a hmtl element - works great expect I cant set it a minute I’ve tried 60000 and it won’t work past any more than 6000
Any idea on whats wrong or how to achieve this ?
Thanks in advance
no iFrame needed, refresh the page EVERY 60 SECONDS…
$w.onReady( function () {
setInterval(() => ( wixLocation.to (wixLocation.url), 60000)
)
})
Simon’s issue is that he was using this example here.
https://support.wix.com/en/article/request-setting-a-page-to-refresh-automatically
Which uses the setTimeout function which only allows for a small maximum time limit
Whereas the example posted by Mike uses the setInterval function which allows for a much larger time limit.
Post being closed.