elisha
千年狐狸
千年狐狸
  • UID5901
  • 注册日期2005-05-12
  • 最后登录2017-11-15
  • 发帖数1436
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
阅读:6360回复:9

网页怎么能这么写呢

楼主#
更多 发布于:2006-04-29 18:13
<tr><td width="400" height="300"><object id="fob" style="display:none" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="300"><param name="movie" value=""><param name="quality" value="high"><embed src="" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed></object></td></tr></table> </TD></TR>

虽然偶不懂html,但也看的出src后面是空的,它怎么可能显示出来呢




神奇的是,ie竟然能正常显示

And so at last the beast fell and the unbelievers rejoiced.
But all was not lost, for from the ash rose a great bird.
The bird gazed down upon the unbelievers and cast fire
and thunder upon them.For the beast had been
reborn with its strength renewed, and the
followers of Mammon cowered in horror.



from The Book of Mozilla, 7:15
xincentre
非常火狐
非常火狐
  • UID12562
  • 注册日期2006-05-02
  • 最后登录2022-06-19
  • 发帖数705
  • 经验15枚
  • 威望0点
  • 贡献值4点
  • 好评度0点
  • 社区居民
1楼#
发布于:2006-04-29 18:13
这就是容错能力的区别。至少IE的容错比较强。
195
195
千年狐狸
千年狐狸
  • UID3920
  • 注册日期2005-03-12
  • 最后登录2023-01-15
  • 发帖数1123
  • 经验50枚
  • 威望0点
  • 贡献值0点
  • 好评度2点
  • 社区居民
  • 忠实会员
2楼#
发布于:2006-04-29 18:13
把classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"这个修改看看.
elisha
千年狐狸
千年狐狸
  • UID5901
  • 注册日期2005-05-12
  • 最后登录2017-11-15
  • 发帖数1436
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
3楼#
发布于:2006-04-29 18:13
xincentre:这就是容错能力的区别。至少IE的容错比较强。回到原帖
为什么空的ie都能认出来??

And so at last the beast fell and the unbelievers rejoiced.
But all was not lost, for from the ash rose a great bird.
The bird gazed down upon the unbelievers and cast fire
and thunder upon them.For the beast had been
reborn with its strength renewed, and the
followers of Mammon cowered in horror.



from The Book of Mozilla, 7:15
mopz0506
狐狸大王
狐狸大王
  • UID811
  • 注册日期2004-12-13
  • 最后登录2006-07-13
  • 发帖数539
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2006-04-29 18:13
这不叫容错,叫纵容.

这种代码依赖于特定平台特定浏览器甚至特定版本的特定的非显式行为,随时可能出问题.

只要是有最起码的职业素养的人,就不应该写这种代码 -- 就象不应该写大量的 GOTO 代码一样.
egilmnu
小狐狸
小狐狸
  • UID11908
  • 注册日期2006-03-14
  • 最后登录2007-10-17
  • 发帖数15
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
5楼#
发布于:2006-04-29 18:13
能显示么?是什么啊啊?
超级47
火狐狸
火狐狸
  • UID10550
  • 注册日期2005-12-13
  • 最后登录2017-03-08
  • 发帖数192
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
6楼#
发布于:2006-04-29 18:13
elisha:为什么空的ie都能认出来??回到原帖


因为 IE 认得 <object></object>里的内容,<embed></embed>有没有就无所谓了, 而FX 不支持 ActiveX -- 这个使IE最强大, 同时最不安全的特性。
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2024-04-22
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
7楼#
发布于:2006-04-29 18:13
请楼主给出原网页地址。就这段代码不能完成分析,只能猜测可能有JavaScript或者VBScript脚本来对src属性赋值。而某些非标准化的脚本不能在Firefox上正常执行。
sunwan
火狐狸
火狐狸
  • UID9953
  • 注册日期2005-11-20
  • 最后登录2009-07-27
  • 发帖数105
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
8楼#
发布于:2006-04-29 18:13
fiag:请楼主给出原网页地址。就这段代码不能完成分析,只能猜测可能有JavaScript或者VBScript脚本来对src属性赋值。而某些非标准化的脚本不能在Firefox上正常执行。回到原帖

同意斑竹的分析!
还有这里有个‘style="display:none"’,这个不是被adblock给过滤了,就是还需要脚本来击活。
最根本的原因是JS是IE ONLY的。
elisha
千年狐狸
千年狐狸
  • UID5901
  • 注册日期2005-05-12
  • 最后登录2017-11-15
  • 发帖数1436
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
9楼#
发布于:2006-04-29 18:13
寒,地址我没记下了,是flash小游戏来着的,网页上是没有flash的地址的,最后在ie的临时文件里找到的

And so at last the beast fell and the unbelievers rejoiced.
But all was not lost, for from the ash rose a great bird.
The bird gazed down upon the unbelievers and cast fire
and thunder upon them.For the beast had been
reborn with its strength renewed, and the
followers of Mammon cowered in horror.



from The Book of Mozilla, 7:15
游客

返回顶部