gmail的界面源代码,硬是没看懂?

baoqingfeng 2004-07-22 09:08:00
top.js是设么东东?还有下面定义了一堆D();是做设么用的?
<html><head><meta content="text/html; charset=UTF-8" http-equiv="content-type"></head><script>D=(top.js&&top.js.init)?function(d){top.js.P(window,d)}:function(){};if(window==top){top.location='/gmail?search=all&view=tl&start=0&zx=ef0a439da80a8538747664654&fs=1';}</script><script><!--
D(["v","ef0a439da80a8538"]
);
D(["i",0]
);
D(["qu","0 MB","1000 MB","0%","#006633"]
);
D(["ds",0,0,0,0,0,0]
);
D(["ct",[]
]
);
D(["ts",0,50,3,0,"All Mail","fdcbd3f822",3]
);
D(["t",["fd8eb6f70948fa1",0,0,"Jul 5","\<span id=\'_user_gmail-noreply@google.com\'\>Gmail Team\</span\>","\<b\>»\</b\> ","shi yi ying has accepted your invitation to Gmail","shi yi ying has accepted your invitation to Gmail and has chosen the brand new address shiyiying …",["^i"]
,"","fd8eb6f70948fa1",0]
,["fd8eb14d6708c2d",0,0,"Jul 5","\<span id=\'_user_sunl0806@gmail.com\'\>me\</span\>"," ","shi, lei sun has invited you to open a Google mail account","I've been using Gmail and thought you might like to try it out. Here's an invitation to …",[]
,"","fd8eb14d6708c2d",0]
,["fd50fc87722b9a3",0,0,"Jun 23","\<span id=\'_user_gmail-noreply@google.com\'\>Gmail Team\</span\>","\<b\>»\</b\> ","Gmail is different. Here\'s what you need to know.","First off, welcome. And thanks for agreeing to help us test Gmail. By now you probably know the …",["^i"]
,"","fd50fc87722b9a3",0]
]
);
D(["te"]);

//--></script><script>var fp='f4ddd644aa1fa151';</script><script>var loaded=true;D(['e']);</script><script>try{top.js.Main_PageLoaded(window,140,'7dc14ee985');}catch(e){}</script>
...全文
134 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
dzang 2005-06-30
  • 打赏
  • 举报
回复
极其关注中!

设了个qq群“Gmail界面探讨”(12459074),大家一起来讨论。
gjd111686 2004-07-22
  • 打赏
  • 举报
回复
D=(top.js&&top.js.init)?function(d){top.js.P(window,d)}:function(){};if(window==top){top.location='/gmail?search=all&view=tl&start=0&zx=ef0a439da80a8538747664654&fs=1';}
分两段

D=(top.js&&top.js.init)?function(d){top.js.P(window,d)}:function(){};
这个判断init返回真执行前假执行后[什么不做]
看情形应该是弹出窗口.

if(window==top){top.location='/gmail?search=all&view=tl&start=0&zx=ef0a439da80a8538747664654&fs=1';}
如果弹出窗口已经存在则更改top页的URL

87,910

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧