s0md3v / AwesomeXSS

Awesome XSS stuff
MIT License
4.77k stars 764 forks source link

throw new Error('xss') #5

Closed hktalent closed 5 years ago

hktalent commented 5 years ago
<script>
window.onerror=function(s){
    alert(s)
}

throw new Error('xss')
</script>
thehappydinoa commented 5 years ago

What do you mean by this? Did your script throw an error or so you want it to throw an error?