javascript - 密码为假时停止下载站点
javascript - Stop download the site when password is false
我正在写一个简单的代码验证
那么,当 javascript 代码为假时,我可以强制网站停止下载吗?
我的例子:
<html>
<head>
</head>
<body>
<div class='content'></div>
</body>
</html>
你可以 window.stop();对于除 Internet Explorer 之外的大多数浏览器。对于 IE,我必须使用 document.execCommand('Stop');
我正在写一个简单的代码验证 那么,当 javascript 代码为假时,我可以强制网站停止下载吗?
我的例子:
<html>
<head>
</head>
<body>
<div class='content'></div>
</body>
</html>
你可以 window.stop();对于除 Internet Explorer 之外的大多数浏览器。对于 IE,我必须使用 document.execCommand('Stop');