kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2022-09-22
  • 发帖数9186
  • 经验397枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
阅读:4912回复: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扩展依赖
猫头猪
狐狸大王
狐狸大王
  • UID163
  • 注册日期2004-11-25
  • 最后登录2005-12-04
  • 发帖数595
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2004-12-04 22:44
livescript是javascript的另一个名字。这两个"高手"所说的都不对。
nba频道的问题在于他在生成左边的日历时,使用了非法日期,它使用了一个循环,只改变日期不改变月份,从11月1日循环到11月一百多日。而这个循环的退出条件是日期为4月某日。firefox容忍到11/69号,还返回了正确日期,但在11/70的时候返回"Invalide data",使得这个循环永远无法结束了。
fygenius
千年狐狸
千年狐狸
  • UID6352
  • 注册日期2005-05-26
  • 最后登录2019-05-01
  • 发帖数1116
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
3楼#
发布于:2004-12-04 22:44
163 有时候也会挂。
貌似用adblock屏蔽
163.com#div(id=hotNews_new)
这个div就可以了
.
中国龙
非常火狐
非常火狐
  • UID11331
  • 注册日期2006-01-29
  • 最后登录2011-03-21
  • 发帖数891
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2004-12-04 22:44
无语。
CrossBud
黄金狐狸
黄金狐狸
  • UID7038
  • 注册日期2005-06-29
  • 最后登录2016-08-31
  • 发帖数5948
  • 经验12枚
  • 威望2点
  • 贡献值40点
  • 好评度20点
  • 社区居民
5楼#
发布于:2004-12-04 22:44
日哦
smoke
千年狐狸
千年狐狸
  • UID3052
  • 注册日期2005-02-16
  • 最后登录2015-02-01
  • 发帖数2367
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
  • 忠实会员
6楼#
发布于:2004-12-04 22:44
要洛阳铲不
遇到问题请善用论坛搜索功能
Cye3s
千年狐狸
千年狐狸
  • UID155
  • 注册日期2004-11-25
  • 最后登录2024-01-30
  • 发帖数1322
  • 经验95枚
  • 威望0点
  • 贡献值34点
  • 好评度14点
  • 社区居民
  • 忠实会员
7楼#
发布于:2004-12-04 22:44
smoke:要洛阳铲不回到原帖

挖坟好工具,哈哈
我很懒...
pho
pho
千年狐狸
千年狐狸
  • UID4300
  • 注册日期2005-03-22
  • 最后登录2016-12-14
  • 发帖数2597
  • 经验40枚
  • 威望0点
  • 贡献值16点
  • 好评度2点
  • 社区居民
  • 忠实会员
8楼#
发布于:2004-12-04 22:44
才看到日期,两年前的帖子了
vliqi
火狐狸
火狐狸
  • UID322
  • 注册日期2004-11-28
  • 最后登录2007-08-30
  • 发帖数135
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
9楼#
发布于:2004-12-04 22:44
smoke:要洛阳铲不回到原帖

这位仁兄真幽默。
李琦
hnstxx
千年狐狸
千年狐狸
  • UID1952
  • 注册日期2005-01-09
  • 最后登录2013-05-14
  • 发帖数4977
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
10楼#
发布于:2004-12-04 22:44
居然挖到猫头猪大大的帖子了,强悍!并鄙视盗墓者惊动古人的举动。
MM:你是个外表冷酷,内心却很甜蜜的男人。

返回顶部