<html>
<body>
<button onclick="alert('not freese');">check</button>
<button onclick="for (var i = 0; ; i++) { };">freeze</button>
</body>
</html>
The tab froze.
But other tabs didn't freeze.
Then I tried this.
<html>
<body>
<button onclick="alert('not freese');">check</button>
<button onclick="for (var i = 0; ; i++) { alert(i); };">freeze</button>
</body>
</html>
Google Chrome can stop this script.
IE, Firefox and Safari can't stop this.
No comments:
Post a Comment