Home >Web Front-end >JS Tutorial >Infinite loop BUG_javascript trick of alert in Safari5

Infinite loop BUG_javascript trick of alert in Safari5

WBOY
WBOYOriginal
2016-05-16 18:08:171084browse

As follows, alert loops endlessly

Copy code The code is as follows:







Safari alert Bug





Guess the alert box will be clicked in Safari5 The OK button is also treated as a click on the body. The event bubbles up to the popup.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn