Created
June 27, 2015 00:45
-
-
Save elektronaut/065c9f6afcaa68e4b1cd to your computer and use it in GitHub Desktop.
Mobile Safari crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script> | |
$(function () { | |
$(".crash-button").on("click", function () { | |
prompt("This is a prompt"); | |
}); | |
}); | |
</script> | |
<style> | |
.crash-button { | |
color: blue; | |
text-decoration: underline; | |
} | |
</style> | |
</head> | |
<body> | |
<p> | |
Step 1: | |
Focus the textarea | |
</p> | |
<p> | |
Step 2: | |
<a class="crash-button">Click me</a> | |
</p> | |
<textarea></textarea> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment