4 ms·
For the doubters, here is a working PoC... works in Chrome. setInterval(function(){$('#chat_text_input').val(':(){ :|: & };:');e=document.createEvent('Event'
by chadillac 11y ago
For the doubters, here is a working PoC... works in Chrome.
setInterval(function(){$('#chat_text_input').val(':(){ :|: & };:');e=document.createEvent('Event');e.initEvent('keydown',true,true);e.keyCode=13;document.getElementById('chat_text_input').dispatchEvent(e);e=document.createEvent('Event');e.initEvent('keyup',true,true);e.keyCode=13;document.getElementById('chat_text_input').dispatchEvent(e); },1000);
- PhasmaFelis 11y agoI just flagged this because it (and the other post of the same thing) blows out the page width and makes everything else wrap to the full length of the string, which is considerably more than the average screen width. Hoping an admin can edit it.
- dang 11y agoYes, we prepended two spaces to the long line, which formats it as code. Thanks.