Trying to set window.location
or using window.navigate()
to make the browser go to about:crash
or chrome://crash
doesn't work. Is there a way to do it?
But if you use Chrome Web browser, it turns out there is a simpler way to crash it. Just enter in a specific 16-character string in the address bar of Chrome and it will disappear as if it saw a ghost. Entering in the following 16-character link "http://a/%%30%30" (without the quotes) crashes Chrome.
Due to a bug in Chromium engine, you can crash someone's Google Chrome browser just by adding a NULL char in the URL string. The bug was discovered by Andris Atteka and he has explained in his blog. He demonstrated the bug using 26 characters length string, but you crash Google Chrome using just 16 characters.
Reporting the crash directly: If possible, and you are using Google Chrome, enable crash reporting in Google Chrome's settings: go to chrome://chrome/settings, click "Show advanced settings..." and in the Privacy section select select "Automatically send usage statistics and crash reports to Google", then see the ...
This issue usually means there's a graphics rendering issue. Sometimes, opening a new tab and browsing to another page can help the affected tab to load. If this doesn't help, try restarting Chrome or your device.
FUN FUN LOOP:
txt = "a"; while(1){ txt = txt += "a"; //add as much as the browser can handle } //[evil laugh] BOOM! All memory used up, and it is now CRASHED!
http://jsfiddle.net/DerekL/M45Cn/1/
Sorry for the Chinese characters...
Fun Fun Loop also works on Firefox!
And I have to give an applause to Safari, because it automatically reload the page when it is about to crash! Good job Webkit developers!
WARNING: Don't try it in Internet Explorer... Because it crashed not my browser, instead, it crashed my Windows 7... Yes. I have to restart the computer after that thing.
I realize this question is over a year old, but apparently you can use chrome://inducebrowsercrashforrealz
.
Here is a list of additional debug chrome://
URLs, taken from chrome://about
:
chrome://crash chrome://kill chrome://hang chrome://shorthang chrome://gpuclean chrome://gpucrash chrome://gpuhang chrome://ppapiflashcrash chrome://ppapiflashhang chrome://restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With