Once I've executed window.stop()
, how can I resume default actions?
I need to make toggle/switch function, that once fired will run window.stop()
, and with second run will recover window actions disabled by window.stop()
.
Once I've executed window.stop()
, how can I resume default actions?
I need to make toggle/switch function, that once fired will run window.stop()
, and with second run will recover window actions disabled by window.stop()
.
stop
stops any current downloads. So what do you expect to happen when you "unstop"?
– Dave
Commented
Sep 21, 2013 at 17:05
window.location.reload();
– Dave
Commented
Sep 21, 2013 at 17:10
I misunderstood before how window.stop() works.
I was wrong, there are no any "direct inbuilt" javascript method to reload ONLY THESE ELEMENTS stopped by window.stop(), so by this meaning it's impossible.
However, if it's needed, we can:
So, to "pause website for moment" window.stop() it's not good choice.