本文介绍了你如何强迫Chrome浏览器页面/标签崩溃使用JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试设置 window.location 或使用 window.navigate()使浏览器转到 about:crash chrome:// crash 不起作用。有没有办法做到这一点?

解决方案

FUN FUN LOOP:

 
txt =a;
while(1){
txt = txt + =a; //添加尽可能多的浏览器可以处理
}
// [邪恶的笑声] BOOM!所有内存用完了,现在已崩溃









额外



Fun Fun Loop也适用于Firefox!



以及我必须对Safari进行掌声,因为 自动 在页面即将崩溃时重新加载页面!良好的Webkit开发人员!

哦是啊...



警告:不要尝试在Internet Explorer中... 因为它不是我的浏览器,而是崩溃了我的Windows 7 ...

是的。在那之后我必须重新启动电脑。


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?

解决方案

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/


Extra

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!

Oh yeah...

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.

这篇关于你如何强迫Chrome浏览器页面/标签崩溃使用JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 09:29