关于gg_bd_ad_720x90.js和follow.js

本文解析了follow.js与gg_bd_ad_720x90.js两个文件的内容,前者用于加载微博分享组件,后者则涉及百度分享组件及谷歌广告代码。

很多人对gg_bd_ad_720x90.js和follow.js 抱有疑问,这是个什么鬼?

 

我也迷惑了一阵子,今天偶然发现了这两个源文件。

大家一起欣赏下。

注意红色加粗代码。

 

1.follow.js

/*document.writeln("<div style=\"width:252px;margin:10px auto;\"><iframe width=\"250\" height=\"100\" class=\"share_self\"  frameborder=\"0\" scrolling=\"no\"")
document.writeln("src=\"http://widget.weibo.com/weiboshow/index.php?")
document.writeln("language=&width=250&height=100&fansRow=2&ptype=1&speed=0&skin=1&")
document.writeln("isTitle=0&noborder=1&isWeibo=0&isFans=0&uid=2832482174&verifier=d71718ca&dpc=1\"></iframe></div>")*/

 

2.gg_bd_ad_720x90.js

/*document.writeln('<div style="margin-left:420px"><div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare" style="margin:10px auto;">');
document.writeln('<a class="bds_tsina"></a>');
document.writeln('<a class="bds_tqq"></a>');
document.writeln('<a class="bds_renren"></a>');
document.writeln('<a class="bds_qzone"></a>');
document.writeln('<a class="bds_douban"></a>');
document.writeln('<a class="bds_xg"></a>');
document.writeln('<span class="bds_more">更多</span>');
document.writeln('<a class="shareCount"></a>');
document.writeln('</div></div>');
document.writeln('<script type="text/javascript" id="bdshare_js" data="type=tools" ></script>');
document.writeln('<script type="text/javascript" id="bdshell_js"></script>');
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();*/
 
//document.writeln('<div style="margin:10px auto"><b style="color:blue;font-size:16px">搜索源码</b>');
//document.writeln('<form action="http://www.google.com.hk" id="cse-search-box" target="_blank">');
//document.writeln('  <div>');
//document.writeln('    <input type="hidden" name="cx" value="partner-pub-0107013120141921:4097824525" />');
//document.writeln('    <input type="hidden" name="ie" value="UTF-8" />');
//document.writeln('    <input type="text" name="q" size="50" />');
//document.writeln('    <input type="submit" name="sa" value="&#x641c;&#x7d22;" />');
//document.writeln('  </div>');
//document.writeln('</form>');
 
//document.writeln('<script type="text/javascript" src="http://www.google.com.hk/coop/cse/brand?form=cse-search-box&amp;lang=zh-Hans"></script>');
//document.writeln('</div>');
 
 
document.writeln("<div style=\"width:728px;margin:10px auto;\"><script type=\"text/javascript\"><!--");
document.writeln("google_ad_client = \"ca-pub-0107013120141921\";");
document.writeln("/* demo页面横幅广告 */")
document.writeln("google_ad_slot = \"4192399144\";");
document.writeln("google_ad_width = 728;");
document.writeln("google_ad_height = 90;");
document.writeln("//-->");
document.writeln("</script>");
document.writeln("<script type=\"text/javascript\"");
document.writeln("src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">");
document.writeln("</script></div>");
 
 
 
 
//document.writeln("<div style=\"width:728px;margin:10px auto;\">")
//document.writeln('<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>');
//document.writeln('<!-- demo页面横幅2 -->');
//document.writeln('<ins class="adsbygoogle"');
//document.writeln('     style="display:inline-block;width:728px;height:90px"');
//document.writeln('     data-ad-client="ca-pub-0107013120141921"');
//document.writeln('     data-ad-slot="4422996926"></ins>');
//document.writeln('<script>');
//document.writeln('(adsbygoogle = window.adsbygoogle || []).push({
 
});');
//document.writeln('</script>');
//document.writeln("</div>");
 
 
 
 
//document.writeln('<div style="width:336px;margin:5px auto;"><script type="text/javascript">');
//document.writeln('/*网页素材demo矩形*/');
//document.writeln('var cpro_id = "u1282812";');
//document.writeln('</script>');
//document.writeln('<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script></div>');
 
 
//document.writeln("<div align=\"center\"><p style=\"font-size:14px;\">==如非特殊说明,素材均转载自网络,如侵犯了你的知识产权,请邮件联系:tx_itivy@163.com,我们会尽快处理!==</p></div>");
 
 
document.write ('<div style="display:none"><script language="javascript" type="text/javascript" src="http://js.users.51.la/4473358.js"></script></div>');
 
document.writeln('<style type="text/css">.source-url{
font-size:15px;text-align:center
}</style>');

 

附上源码下载地址,有兴趣的话可以自己再看看

https://www.codeforge.cn/article/247759#introduction

 

转载于:https://www.cnblogs.com/empist/p/7099907.html

body{margin:0;padding:0;background:#ffe;font-size:12px;overflow:auto} #mainDiv{width:100%;height:100%} #loveHeart{float:left;width:670px;height:625px} #garden{width:100%;height:100%} #elapseClock{text-align:right;font-size:18px;margin-top:10px;margin-bottom:10px} #words{font-family:"sans-serif";width:500px;font-size:24px;color:#666} #messages{display:none} #elapseClock .digit{font-family:"digit";font-size:36px} #loveu{padding:5px;font-size:22px;margin-top:80px;margin-right:120px;text-align:right;display:none} #loveu .signature{margin-top:10px;font-size:20px;font-style:italic} #clickSound{display:none} #code{float:left;width:440px;height:400px;color:#333;font-family:"Consolas","Monaco","Bitstream Vera Sans Mono","Courier New","sans-serif";font-size:12px} #code .string{color:#2a36ff} #code .keyword{color:#7f0055;font-weight:bold} #code .placeholder{margin-left:15px}#code .space{margin-left:7px} #code .comments{color:#3f7f5f} #copyright{margin-top:10px;text-align:center;width:100%;color:#666} #errorMsg{width:100%;text-align:center;font-size:24px;position:absolute;top:100px;left:0} #copyright a{color:#666} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>HTML5浪漫爱心表白动画</title> <style type="text/css"> @font-face { font-family: digit; src: url('digital-7_mono.ttf') format("truetype"); } </style> <link href="css/default.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/garden.js"></script> <script type="text/javascript" src="js/functions.js"></script> </head> <body> <div style="text-align:center;clear:both;"> <script src="/gg_bd_ad_720x90.js" type="text/javascript"></script> <script src="/follow.js" type="text/javascript"></script> </div> <div id="mainDiv"> <div id="content"> <div id="code"> <span class="comments">/**</span><br /> <span class="space"/><span class="comments">*2022—02-14,</span><br /> <span class="space"/><span class="comments">*2023-08-22.</span><br /> <span class="space"/><span class="comments">*/</span><br /> Boy name = <span class="keyword">Mr</span> LI<br /> Girl name = <span class="keyword">Mrs</span> ZHANG<br /> <span class="comments">// Fall in love river. </span><br /> The boy love the girl;<br /> <span class="comments">// They love each other.</span><br /> The girl loved the boy;<br /> <span class="comments">// AS time goes on.</span><br /> The boy can not be separated the girl;<br /> <span class="comments">// At the same time.</span><br /> The girl can not be separated the boy;<br /> <span class="comments">// Both wind and snow all over the sky.</span><br /> <span class="comments">// Whether on foot or 5 kilometers.</span><br /> <span class="keyword">The boy</span> very <span class="keyword">happy</span>;<br /> <span class="keyword">The girl</span> is also very <span class="keyword">happy</span>;<br /> <span class="placeholder"/><span class="comments">// Whether it is right now</span><br /> <span class="placeholder"/><span class="comments">// Still in the distant future.</span><br /> <span class="placeholder"/>The boy has but one dream;<br /> <span class="comments">// The boy wants the girl could well have been happy.</span><br /> <br> <br> I want to say:<br /> Baby, I love you forever;<br /> </div> <div id="loveHeart"> <canvas id="garden"></canvas> <div id="words"> <div id="messages"> 亲爱的,这是我们相爱在一起的时光。 <div id="elapseClock"></div> </div> <div id="loveu"> 爱你直到永永远远。<br/> <div class="signature">- 李先生</div> </div> </div> </div> </div> </div> <script type="text/javascript"> var offsetX = $("#loveHeart").width() / 2; var offsetY = $("#loveHeart").height() / 2 - 55; var together = new Date(); together.setFullYear(2022, 1, 14); together.setHours(20); together.setMinutes(0); together.setSeconds(0); together.setMilliseconds(0); if (!document.createElement('canvas').getContext) { var msg = document.createElement("div"); msg.id = "errorMsg"; msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+"; document.body.appendChild(msg); $("#code").css("display", "none") $("#copyright").css("position", "absolute"); $("#copyright").css("bottom", "10px"); document.execCommand("stop"); } else { setTimeout(function () { startHeartAnimation(); }, 5000); timeElapse(together); setInterval(function () { timeElapse(together); }, 500); adjustCodePosition(); $("#code").typewriter(); } </script> </body> </html>
最新发布
08-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值