阅读:4927回复:10
关于新浪Nba栏目,上Mozilla官方论坛询问的结
还是新浪的问题,第一个高手:
After disabling JavaScript, the page loaded fine. However, I do not know the exact cause of the problem. Below is the code from the page that causes the problem. I'll try to narrow it down a little later. I have never heard of "LiveScript" before... 具体什么是livescript在那个页面的源文件里面。 另一个高手: Ok, it turns out that this is nothing more than a combination of non-FireFox-compatible code along with FireFox's inability to get itself out of an infinite loop. For example, the following code does exactly the same thing, and is extremely simple. I recall a while back that the inifinite loop checking feature worked fine, stopping FireFox from locking up permanently -- after about 10 sec it would ask you if you want to cancel the script. Unfortunately, it appears this feature does not work in FF 1.0. Code: <html> <head><title>Lock up FireFox 1.0</title></head> <body> <script language="JavaScript"><!-- var x; for (x=0;;x++) { document.write("<td><a href='sdf' class=asdf target=_blank>") } --></script> </body></html> |
|
|
1楼#
发布于:2004-12-04 22:44
无限循环……
|
|
|