植入JS代码,防止页面加载及跳转

在页面中植入下列代码,即可防止页面加载及跳转

<script type="text/javascript">
        if (window.stop)
        window.stop();
        else
        document.execCommand("Stop");
</script>

 

posted @ 2021-06-20 17:16  羽墨1110  阅读(501)  评论(0编辑  收藏  举报