📄 show_ads.js
字号:
(function(){var J={google_ad_channel:"channel",google_ad_host:"host",google_ad_region:"region",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",google_contents:"contents",google_country:"gl",google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_gl:"gl",google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",google_language:"hl",google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_targeting:"targeting",google_ui_features:"ui"},E={google_ad_format:"format",google_ad_output:"output",google_ad_override:"google_ad_override",google_ad_slot:"slotname",google_analytics_webpropids:"ga_wpids",google_correlator:"correlator",google_cpa_choice:"cpa_choice",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len",google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_page_url:"url",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",google_skip:"skip"};function C(b){return J[b]||E[b]||null}var R=document;function U(){var b=R.cookie,a=Math.round((new Date).getTime()/1000),d=b.indexOf("__utma=")>-1,f=b.indexOf("__utmb=")>-1,c=b.indexOf("__utmc=")>-1,e,g={};if(d){e=b.split("__utma=")[1].split(";")[0].split(".");g.sid=(!f||!c?a:e[4])+"";g.vid=e[1]+"."+e[2];g.from_cookie=true}else{g.sid=window&&window.gaGlobal&&window.gaGlobal.sid?window.gaGlobal.sid:a+"";g.vid=window&&window.gaGlobal&&window.gaGlobal.vid?window.gaGlobal.vid:Math.round(Math.random()*2147483647)+"."+a;g.from_cookie=false}g.hid=window&&window.gaGlobal&&window.gaGlobal.hid?window.gaGlobal.hid:Math.round(Math.random()*2147483647);window.gaGlobal=g;return g}(function(){function b(){}b.prototype.l=function(f){var c=f.indexOf("#")+1;return c?f.substr(c):""};b.prototype.n=function(f){return/[&<>\"]/.test(f)?f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,"""):f};b.prototype.b=function(f){var c="<iframe";for(var e in f){c+=" "+e+'="'+this.n(f[e])+'"'}return c+"></iframe>"};b.prototype.m=function(f,c){try{return f.frames[c]}catch(e){return null}};b.prototype.e=function(f){var c=document.createElement("iframe");for(var e in f){c.setAttribute(e,f[e])}return c};b.prototype.i=function(f,c){var e=this;setTimeout(function(){document.body.appendChild(e.e({id:f,name:f,src:c,width:0,height:0,frameBorder:0}))},0)};b.prototype.r=function(f,c){var e=this;document.write(e.b({id:f,name:f,src:c,width:0,height:0,frameBorder:0}))};b.prototype.g=function(f,c){var e=[],g=f.length,l=0;while(l<g){var j=f.substr(l,c),k=j.length;if(l+k<g){for(var i=1;i<3;++i){if(j.charAt(k-i)=="%"){j=j.substr(0,k-=i)}}}e.push(j);l+=k}return e};b.prototype.a=function(f,c,e){if(!window[f]){var g=window[f]=new c;for(var l=0;l<e.length;++l){g[e[l][0]]=e[l][1]}}};var a=b.prototype,d=[["getHash",a.l],["htmlEscape",a.n],["makeIframeTag",a.b],["getIframe",a.m],["makeIframeNode",a.e],["appendHiddenIframe",a.i],["writeHiddenIframe",a.r],["splitURIComponent",a.g],["exportSingleton",a.a],["MAX_URL_LENGTH",4095],["IDI_DEFAULT_POLLING_INTERVAL",1000]];b.prototype.a("IDICommon",b,d)})();(function(){function b(c,e){for(var g in e){c[g]=e[g]}}function a(){var c=this;c.s=window.location.href.replace(/([^:\/])\/.*$/,"$1/robots.txt");c.t="";c.k={};c.c={};c.f={};c.u={};c.o={}}a.prototype.w=function(c,e){var g=this,l=g.c[c];if(isNaN(l)){throw new Error("Invalid module id");}else{var j=g.d(g.u[c]),k=encodeURIComponent(e)+"$",i=IDICommon.MAX_URL_LENGTH-1-j.length,p=IDICommon.g(k,i),n=p.length;for(var q=0;q<n;++q){IDICommon.i(c+"_"+(l+q),j+"#"+p[q])}g.c[c]+=n}};a.prototype.p=function(c,e,g){var l=this;l.h(c);l.o[c]=window.setInterval(function(){l.v(c,e)},typeof g=="object"&&g.pollingInterval||IDICommon.IDI_DEFAULT_POLLING_INTERVAL)};a.prototype.h=function(c){var e=this;window.clearInterval(e.o[c]);e.o[c]=0};a.prototype.x=function(c){this.s=c};a.prototype.q=function(c){this.t=c};a.prototype.d=function(c){return this.t||c.replace(/([^:\/]\/).*$/,"$1ig/idi_relay")};a.prototype.v=function(c,e){var g=this,l=window.frames[c];if(l){var j;while(j=IDICommon.m(l,c+"_"+g.k[c])){try{if(j.location.href=="about:blank"){break}}catch(k){break}g.f[c]+=IDICommon.l(j.location.href);++g.k[c]}var i=g.f[c].split("$"),p=i.length-1;if(p>0){g.f[c]=i[p];for(var n=0;n<p;++n){e(decodeURIComponent(i[n]),c)}}}};a.prototype.j=function(c,e,g,l,j){var k=this,i={frameBorder:0,scrolling:"no"},p,n,q,z,s;if(typeof j=="object"){p=j.iframeAttrs;n=j.callback;q=j.userPrefs;z=j.pollingInterval;s=j.parentDivId}if(typeof p=="object"){b(i,p)}b(i,{id:e,name:e,src:c,width:g,height:l});k.k[e]=0;k.c[e]=0;k.f[e]="";k.u[e]=c;var t=[];if(typeof q=="object"){for(var r in q){t.push(encodeURIComponent(r)+"="+encodeURIComponent(q[r]))}}if(typeof n=="function"){t.push("idi_hr="+encodeURIComponent(k.s));k.p(e,n,j)}if(t.length){var u=t.join("&");if(i.src.length+1+u.length>IDICommon.MAX_URL_LENGTH){u+="$";var F=k.d(c),O=IDICommon.MAX_URL_LENGTH-1-F.length,G=IDICommon.g(u,O),H=G.length;for(var r=0;r<H;++r){var B=e+"_"+r,I=F+"#"+G[r];if(s){var y=document.getElementById(s);y.innerHTML=y.innerHTML+k.e({id:B,name:B,src:I,width:0,height:0,frameBorder:0})}else{IDICommon.r(B,I)}}k.c[e]+=H;u=""}i.src+="#"+u}if(s){var y=document.getElementById(s);y.innerHTML=y.innerHTML+IDICommon.b(i)}else{document.write(IDICommon.b(i))}};var d=a.prototype,f=[["setHostRelayUrl",d.x],["setModuleRelayUrl",d.q],["getModuleRelayUrl",d.d],["createModule",d.j],["postMessageToModule",d.w],["registerListener",d.p],["unregisterListener",d.h]];IDICommon.a("IDIHost",a,f)})();function w(b){return b!=null?'"'+b+'"':'""'}function S(b){if(typeof encodeURIComponent=="function"){return encodeURIComponent(b)}else{return escape(b)}}function m(b,a){if(b&&a){window.google_ad_url+="&"+b+"="+a}}function h(b){var a=window,d=C(b),f=a[b];m(d,f)}function v(b,a){if(a){m(b,S(a))}}function o(b){var a=window,d=C(b),f=a[b];v(d,f)}function x(b,a){var d=window,f=C(b),c=d[b];if(f&&c&&typeof c=="object"){c=c[a%c.length]}m(f,c)}function V(b,a){var d=b.screen,f=navigator.javaEnabled(),c=-a.getTimezoneOffset();if(d){m("u_h",d.height);m("u_w",d.width);m("u_ah",d.availHeight);m("u_aw",d.availWidth);m("u_cd",d.colorDepth)}m("u_tz",c);m("u_his",history.length);m("u_java",f);if(navigator.plugins){m("u_nplug",navigator.plugins.length)}if(navigator.mimeTypes){m("u_nmime",navigator.mimeTypes.length)}}function D(b){if(b){b=b.toLowerCase();if(b.substring(0,3)!="ca-"){b="ca-"+b}}return b}function ba(b,a){var d=document.getElementById(b);d.style.height=a+"px"}function W(b,a,d){window.clearTimeout(d);var f=/^google_resize_flash_ad_idi\((\d+)\)/,c=b.match(f);if(c){ba(a,c[1])}}function ca(b,a,d,f){d=d.substring(0,2000);d=d.replace(/%\w?$/,"");if(b.google_ad_output=="js"&&(b.google_ad_request_done||b.google_radlink_request_done)){a.write('<script language="JavaScript1.1" src='+w(d)+"><\/script>")}else if(b.google_ad_output=="html"){if(b.name!="google_ads_frame"){if(f!=null){a.write('<div id="'+f+'">')}if(X(b.google_ad_output,b.google_ad_client)){IDIHost.q("http://pagead2.googlesyndication.com/pagead/idi_relay.html");var c="google_inline_div"+b.google_num_ad_slots,e="<div id="+w(c)+' style="position:relative;"></div><div style="position:relative;width:'+b.google_ad_width+"px;height:"+b.google_ad_height+'px;z-index:-1"></div>';a.write(e);var g="google_frame"+b.google_num_ad_slots,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -