<script>
$ (document). Ready (function () {
$ ("a"). Click (function () {
$ (this). attr (' href ', ' javascript:void (0) ');
GETSWT (' Gzbdfyjy ');
return false;
});
});
</script>
Global header JS, load to project all pages
var publicfloat= ' <script language= ' javascript ' src= ' http://image.gzbdfyjy.com/js/float.js ' ></script> ' ;
document.write (publicfloat);
JQ Load Detection
if (typeof (jquery) = = "undefined" | | typeof (jquery) = = "" | | typeof (jquery) ==null) {
document.write (' <script src= ' http://image.gzbdfyjy.com/js/jquery-1.11.3.min.js ' ><\/script> ');
(function () {
var JQ = document.createelement ("script");
JQ.SRC = "Http://image.gzbdfyjy.com/js/jquery-1.11.3.min.js";
var sj = document.getelementsbytagname ("script") [0];
Sj.parentNode.insertBefore (JQ, SJ);
})();
}
Browser identity
var browser={
Versions:function () {
var u = navigator.useragent, app = Navigator.appversion;
return {
Trident:u.indexof (' Trident ') >-1,//ie core
Presto:u.indexof (' presto ') >-1,//opera core
Webkit:u.indexof (' AppleWebKit ') >-1,//Apple, Google kernel
Gecko:u.indexof (' Gecko ') >-1 && u.indexof (' khtml ') = = -1,//Firefox kernel
Mobile:!! U.match (/applewebkit.*mobile.*/),//Whether it is a mobile terminal
Ios:!! U.match (/\ (i[^;] +;( U;)? Cpu.+mac OS x/),//ios terminal
Android:u.indexof (' Android ') >-1 | | U.indexof (' Linux ') >-1,//android terminal or UC Browser
Iphone:u.indexof (' iphone ') >-1,//whether for iphone or Qqhd browser
Ipad:u.indexof (' ipad ') >-1,//whether ipad
Webapp:u.indexof (' Safari ') = =-1//whether the Web should be program, no head with bottom
};
}(),
Language: (Navigator.browserlanguage | | navigator.language). toLowerCase ()
}
function Replacebody () {
if (!browser.versions.mobile &&!browser.versions.ipad) {
Document.writeln ("<frameset cols=\" 100%\ ">");
Document.writeln ("<frame src=\" http://public.gzbdfyjy.com/index.html\ "frameborder=\ ' 0\ ' marginwidth=\ ' 0px\ ' Scrolling=\ ' yes\ '/> ");
Document.writeln ("</frameset>");
}else{
Window.location.href= "http://image.gzbdfyjy.com/recopy_yd/";
/*document.writeln ("<frameset cols=\" 100%\ ">");
Document.writeln ("<frame src=\" http://image.gzbdfyjy.com/recopy_yd/index.html\ "frameborder=\ ' 0\ ' marginwidth= \ ' 0px\ ' scrolling=\ ' yes\ '/> ");
Document.writeln ("</frameset>"); */
}
}
Review page
SetTimeout (function () {
var domain = Document.domain;
if (Domain! = ' image.gzbdfyjy.com ' && domain! = ' mobile.gzbdfyjy.com ' && domain! = ' public.gzbdfyjy.com ') {
if (typeof jQuery = = ' undefined ') {
Replacebody ();
}else{
Jquery.getscript (' http://pv.sohu.com/cityjson?ie=gb2312 ', function () {
Console.log (returncitysn["CIP"]);
2016.5.16 Annotated if (returncitysn["CIP"]!= ' 60.194.2.178 ') {
Replacebody ();
//}
});
}
}
},100);
New Baidu Statistics
Document.writeln (' <script type= ' Application/javascript "src=" http://image.gzbdfyjy.com/js/new_public_baidu.js "Charset=" GBK "></script>");
Render with the highest version of IE
Document.writeln ("<meta http-equiv=\" x-ua-compatible\ "content =\" ie=edge,chrome=1\ "/>");
Click on another trigger business pass