How to stop page load in html static page

后端 未结 11 1445
庸人自扰
庸人自扰 2020-11-30 02:35

Is there in HTML (javascript) or other static html tech can:

  • Stop page loading (if browser does not download yet)
  • Stop page rendering (from where the
11条回答
  •  暖寄归人
    2020-11-30 03:00

    Just not much related to the question, but I thought it may be useful for some persons. If you want to jump to other page during page loading use window.location = "somepage.html"; or you can redirect users to the previous page: window.history.go(-1); Useful in JavaScript conditional statements

提交回复
热议问题