📄 show_ads.js
字号:
1}else{i[p]+=1}if(j[k]){n("prev_fmts",j[k].toLowerCase());if(i.length>1){h("slot",i[p])}}if(l[k]){n("prev_slotnames",l[k].toLowerCase())}if(g&&!b.google_ad_slot){n("format",g.toLowerCase());if(j[k]){j[k]=j[k]+","+g}else{j[k]=g}}if(b.google_ad_slot){if(l[k]){l[k]=l[k]+","+b.google_ad_slot}else{l[k]=b.google_ad_slot}}h("num_ads",b.google_max_num_ads);h("output",c!=a?c:b.google_ad_output);h("adtest",b.google_adtest);if(b.google_ad_slot){h("slotname",b.google_ad_slot)}n("correlator",b.google_correlator);if(b.google_ad_channel){var z=b.google_ad_channel;n("channel",z);var s="",t=z.split("+");for(var q=0;q<t.length;q++){var r=t[q];if(!m[r]){m[r]=1}else{s+=r+"+"}}n("pv_ch",s)}n("url",b.google_page_url);v("bg",b.google_color_bg,f);v("text",b.google_color_text,f);v("link",b.google_color_link,f);v("url",b.google_color_url,f);v("border",b.google_color_border,f);v("line",b.google_color_line,f);if(b.google_reuse_colors)h("reuse_colors",1);else h("reuse_colors",0);h("kw_type",b.google_kw_type);n("kw",b.google_kw);n("contents",b.google_contents);h("num_radlinks",b.google_num_radlinks);h("max_radlink_len",b.google_max_radlink_len);h("rl_filtering",b.google_rl_filtering);h("rl_mode",b.google_rl_mode);h("rt",b.google_rt);n("rl_dest_url",b.google_rl_dest_url);h("num_radlinks_per_unit",b.google_num_radlinks_per_unit);h("ad_type",b.google_ad_type);h("image_size",b.google_image_size);h("region",b.google_ad_region);h("feedback_link",b.google_feedback);n("ref",b.google_referrer_url);n("loc",b.google_page_location);h("bid",b.google_bid);h("cust_age",b.google_cust_age);h("cust_gender",b.google_cust_gender);h("cust_interests",b.google_cust_interests);h("cust_id",b.google_cust_id);h("cust_job",b.google_cust_job);h("cust_u_url",b.google_cust_u_url);h("cust_l",b.google_cust_l);h("cust_lh",b.google_cust_lh);h("cust_ch",b.google_cust_ch);h("ed",b.google_ed);n("ui",b.google_ui_features);n("only_ads_with_video",b.google_only_ads_with_video);n("disable_video_autoplay",b.google_disable_video_autoplay);if(M(b,d)&&d.body){var w=d.body.scrollHeight,A=d.body.clientHeight;if(A&&w){n("cc",Math.round(A*100/w))}}T();h("ga_vid",b.gaGlobal.vid);h("ga_sid",b.gaGlobal.sid);h("ga_hid",b.gaGlobal.hid);h("ga_fc",b.gaGlobal.from_cookie);n("ga_wpids",b.google_analytics_webpropids);h("google_ad_override",b.google_ad_override);h("flash",b.google_flash_version);V(b,e);return true}function N(){var c=window,a=document,b=false;if(X(c.google_ad_output,c.google_ad_client)&&!ga()){b=true}var d=b?"json_html":null;if(!O(d)){return}if(!b){ha(c,a,c.google_ad_url,null)}else{ca()}da(c)}function S(c,a,b){N();return true}function M(c,a){return c.top.location==a.location}function L(c,a){var b=a.documentElement;if(M(c,a))return false;if(c.google_ad_width&&c.google_ad_height){var d=1,e=1;if(c.innerHeight){d=c.innerWidth;e=c.innerHeight}else if(b&&b.clientHeight){d=b.clientWidth;e=b.clientHeight}else if(a.body){d=a.body.clientWidth;e=a.body.clientHeight}if(e>2*c.google_ad_height||d>2*c.google_ad_width){return false}}return true}function Z(c){var a=window,b=document,d=b.location,e=b.referrer,f=null,g=a.onerror;a.onerror=c;if(a.google_ad_frameborder==f){a.google_ad_frameborder=0}if(a.google_ad_output==f){a.google_ad_output="html"}if(a.google_ad_format==f&&a.google_ad_output=="html"){a.google_ad_format=a.google_ad_width+"x"+a.google_ad_height}if(a.google_page_url==f){a.google_page_url=e;if(!L(a,b)){a.google_page_url=d;a.google_last_modified_time=Date.parse(b.lastModified)/1000;a.google_referrer_url=e}}else{a.google_page_location=e;if(!L(a,b)){a.google_page_location=d}}if(a.google_num_slots_by_channel==f){a.google_num_slots_by_channel=[]}if(a.google_num_slots_by_client==f){a.google_num_slots_by_client=[]}if(a.google_prev_ad_formats_by_region==f){a.google_prev_ad_formats_by_region=[]}if(a.google_prev_ad_slotnames_by_region==f){a.google_prev_ad_slotnames_by_region=[]}if(a.google_correlator==f){a.google_correlator=(new Date).getTime()}if(a.google_adslot_loaded==f){a.google_adslot_loaded={}}if(a.google_adContentsBySlot==f){a.google_adContentsBySlot={}}if(a.google_flash_version==f){a.google_flash_version=P().toString()}a.onerror=g}function y(c){if(c in C){return C[c]}return C[c]=navigator.userAgent.toLowerCase().indexOf(c)!=-1}var C={};function D(){return y("msie")&&!window.opera}function F(){return y("safari")}function U(){var c=navigator.userAgent,a=c.indexOf("MSIE ");if(a==-1){return 0}else{return parseFloat(c.substring(a+5,c.indexOf(";",a)))}}function ga(){if(D()){var c=U();return c<=5}else if(y("firefox")){var a=navigator.userAgent.indexOf("Firefox")+8,b=parseInt(navigator.userAgent.charAt(a)),d=navigator.userAgent.slice(a);return b<1}else if(F()){var a=navigator.userAgent.indexOf("Safari")+7,d=navigator.userAgent.slice(a),e=parseInt(d);return e<412}else if(window.opera!=null){var a=navigator.userAgent.indexOf("Opera")+6,d=navigator.userAgent.slice(a),b=parseInt(d);return b<9}else if(!D()&&!F()&&y("mozilla")){var a=navigator.userAgent.indexOf("Netscape")+9,d=navigator.userAgent.slice(a),b=parseInt(d);return b<7}else{return true}}function X(c,a){var b=window;if(c!="html"){return false}if(b.google_cpa_choice!=null){return false}var d={};d["ca-pub-8954402009499768"]=true;d["ca-pub-8091322912406003"]=true;d["ca-pub-2996719119399840"]=true;d["ca-pub-8887131281660947"]=true;d["ca-pub-0636374063477327"]=true;d["ca-pub-9500441424288493"]=true;d["ca-pub-6682766817737063"]=true;d["ca-pub-3645353514626463"]=true;d["ca-pub-7027491298716603"]=true;d["ca-pub-2071992140100640"]=true;d["ca-pub-4840216691262122"]=true;d["ca-pub-9425162160615080"]=true;d["ca-pub-6655028338425523"]=true;d["ca-pub-7869439110764952"]=true;return d[B(a)]!=null}function Y(c,a){if(c!="html"){return false}var b={};b["ca-pub-8344185808443527"]=true;return b[B(a)]!=null}function ca(){var c=window;h("impl","s");h("callback","_google_setAdContentsBySlotForSync");document.write("<script src = '"+c.google_ad_url+"'><\/script>")}function ea(c){var a=document.getElementById("google_flash_div");if(a!=null){a.style.height=c+"px"}var b=document.getElementById("google_flash_obj");if(b!=null){b.height=c}var d=document.getElementById("google_flash_embed");if(d!=null){d.height=c}}window.google_createDivWithContent=function(c){var a=window,b="google_ads_div_"+c,d="<div id="+b+">",e=a.google_adContentsBySlot[c];if(e==null){return}d+=e._html_;d+="\n</div>\n";document.write(d)};window.google_createDOMIframe=function(c,a,b,d){var e=document.getElementsByTagName("script"),f=e[e.length-1],g=document.createElement("iframe");g.id="google_ads_iframe_"+c;g.width=a;g.height=b;g.vspace=0;g.hspace=0;g.allowTransparency="true";g.scrolling="no";g.marginWidth=0;g.marginHeight=0;g.frameBorder=0;g.style.border=0;f.parentNode.appendChild(g);g.contentWindow.document.write(d);g.contentWindow.document.close()};window.google_createiframe=function(c,a,b,d,e){var f="google_ads_div_"+c,g="google_ads_iframe_"+c,i="<div id="+f+">";i+="<iframe id="+g+' width="'+d+'" height="'+e+'" vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;" src="'+a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""")+'"';i+=' onload="'+b+'"';i+="></iframe></div>";document.write(i)};var G="google_ads_iframe_".length;function K(c){var a=c.getAttribute("id"),b=a.substr(G,a.length-G);return b}function $(c){var a=window,b=K(c),d=a.google_adslot_loaded[b];if(d){return}a.google_adslot_loaded[b]=true;var e=window.google_adContentsBySlot[b],f=c.contentWindow?c.contentWindow.document:c.contentDocument;if(f==null){if(document.implementation&&document.implementation.createDocument){f=document.implementation.createDocument("",b,null)}else if(typeof ActiveXObject!=undefined){f=new ActiveXObject("Msxml.DOMDocument")}else{return}}f.open("text/html","replace");f.write(e._html_);f.close()}window._google_syncAdSlotLoaded=function(c){var a=K(c);$(c)};window._google_setAdContentsBySlotForSync=function(c){var a=window;for(var b in c){var d=c[b];a.google_adContentsBySlot[b]=d;if(d==null||d._empty_){}else if(d._expandable_){a.google_createDivWithContent(b)}else{if(navigator.userAgent.indexOf("MSIE ")>0){a.google_adslot_loaded[b]=false;var e="window._google_syncAdSlotLoaded(this);";a.google_createiframe(b,"about:blank",e,d._width_,d._height_)}else{a.google_createDOMIframe(b,d._width_,d._height_,d._html_)}}}};function ba(c){var a={},b=c.split("?"),d=b[b.length-1].split("&");for(var e=0;e<d.length;e++){var f=d[e].split("=");if(f[0]){try{a[f[0].toLowerCase()]=f.length>1?(window.decodeURIComponent?decodeURIComponent(f[1].replace(/\+/g," ")):unescape(f[1])):""}catch(g){}}}return a}function aa(){var c=window,a=ba(document.URL);if(a.google_ad_override){c.google_ad_override=a.google_ad_override}}function P(){var c=0;if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){c=a.description.replace(/([a-zA-Z]|\s)+/,"").split(".")[0]}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){c=3;var b=1;while(b){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+(c+1));c++}catch(d){b=null}}}else if(D()){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=6;b.AllowScriptAccess="always"}catch(d){if(c==6){return c}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){c=b.GetVariable("$version").split(" ")[1].split(",")[0]}}return c}window.google_resize_flash_ad=ea;aa();Z(S);N();})()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -