kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2022-09-22
  • 发帖数9186
  • 经验397枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
阅读:4927回复:10

关于新浪Nba栏目,上Mozilla官方论坛询问的结

楼主#
更多 发布于:2004-12-04 22:44
还是新浪的问题,第一个高手:
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>
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2022-09-22
  • 发帖数9186
  • 经验397枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
1楼#
发布于:2004-12-04 22:44
无限循环……
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖

返回顶部