How to stop page load in html static page

后端 未结 11 1466
庸人自扰
庸人自扰 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:12

    You could do window.stop(); for most browsers besides Internet Explorer. For IE, I had to use document.execCommand('Stop');

提交回复
热议问题