关于gg_bd_ad_720x90.js和follow.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="搜索" />');
//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&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
关于gg_bd_ad_720x90.js和follow.js的更多相关文章
- MVC、MVP、MVVM、Angular.js、Knockout.js、Backbone.js、React.js、Ember.js、Avalon.js、Vue.js 概念摘录
注:文章内容都是摘录性文字,自己阅读的一些笔记,方便日后查看. MVC MVC(Model-View-Controller),M 是指业务模型,V 是指用户界面,C 则是控制器,使用 MVC 的目的是 ...
- 再谈React.js实现原生js拖拽效果
前几天写的那个拖拽,自己留下的疑问...这次在热心博友的提示下又修正了一些小小的bug,也加了拖拽的边缘检测部分...就再聊聊拖拽吧 一.不要直接操作dom元素 react中使用了虚拟dom的概念,目 ...
- spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js...
问题:spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js... web.x ...
- prototype.js 和 jQuery.js中 ajax 的使用
这次还是prototype.js 和 jQuery.js冲突的问题,前面说到过解决办法http://www.cnblogs.com/Joanna-Yan/p/4836252.html,以及上网说的大部 ...
- LazyLoad.js及scrollLoading.js
http://blog.csdn.net/ning109314/article/details/7042829 目前图片延迟加载主要分两大块,一是触发加载(根据滚动条位置加载图片):二是自动预加载(加 ...
- JS引用另外JS文件的顺序问题。
1.在a.js中可以引用b.js文件,这样就可以在网页中只引用a.js文件,从而可以使用a.js和b.js文件中的所有方法. 引用格式如下:document.write('<script typ ...
- jquery的validate.js 和 form.js 的使用方法
在使用 Jquery 的方法的验证并且修改 原Form 表单的提交方式的时候,需要引用的文件有 <script type="text/javascript" src=&quo ...
- 封装常用的js(Base.js)——【01】理解库,获取节点,连缀,
封装常用的js(Base.js)——[01]理解库,获取节点,连缀, youjobit07 2014-10-10 15:32:59 前言: 现如今有太多优秀的开源javascript库, ...
- iScroll.js和swiper.js
最近系统地学习了iScroll.js和swiper.js,感觉它们在移动端特别好用:http://www.360doc.com/content/14/0724/11/16276861_39669990 ...
随机推荐
- js json转字符串
在数据传输过程中,json是以文本,即字符串的形式传递的,而JS操作的是JSON对象,所以,JSON对象和JSON字符串之间的相互转换是关键.例如:JSON字符串:var str1 = '{ &quo ...
- 基于spring-cloud的微服务(3)eureka的客户端如何使用IP地址来进行注册
例子中和我写的代码里,使用的spring-boot的版本是2.0 Eureka的客户端默认是使用hostname来进行注册的,有的时候,hostname是不可靠的,需要使用IP地址来进行注册 name ...
- 【CF316G3】Good Substrings 后缀自动机
[CF316G3]Good Substrings 题意:给出n个限制(p,l,r),我们称一个字符串满足一个限制当且仅当这个字符串在p中的出现次数在[l,r]之间.现在想问你S的所有本质不同的子串中, ...
- php base64转图片
1.解析base64数据成图片 The problem is that data:image/bmp;base64, is included in the encoded contents. This ...
- Keepalived+Nginx高可用集群
Keepalived简介 Keepalived的作用是检测服务器的状态,如果有一台web服务器宕机,或工作出现故障,Keepalived将检测到,并将有故障的服务器从系统中剔除,同时使用其他服务器代替 ...
- HDU-5965 扫雷 模拟+想法
http://acm.hdu.edu.cn/showproblem.php?pid=5965 (合肥)区域赛签到题...orz 题意:3*n的地图上扫雷(规则就是正常扫雷),中间一排全部没有雷,且全部 ...
- android stream media
http://www.cnblogs.com/skyseraph/archive/2012/03/31/2427593.html http://www.cnblogs.com/lingyunhu/p/ ...
- zookeeper 版本不一致导致不断重连
在使用kafka 和zookeeper 实现实时分析程序时,由于zookeeper部署版本和分析程序导入jar包的版本不一致,导致了当实时分析程序从远程服务器连接kafka集群的zookeeper时报 ...
- elasticsearch更改mapping,不停服务重建索引(转)
原文:http://donlianli.iteye.com/blog/1924721?utm_source=tuicool&utm_medium=referral Elasticsearch的 ...
- 深入浅出REST(转载)
add by zhj: 参考http://zh.wikipedia.org/zh/REST 需要注意的是,REST是设计风格而不是标准,它也并没有与哪种协议绑定.不过,我们常按REST设计风格来使用H ...