📄 show_ads.js
字号:
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(W(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,l=b.setTimeout(function(){IDIHost.h(g)},5000);IDIHost.j(d,g,b.google_ad_width,b.google_ad_height,{callback:function(j,k){V(j,k,l)},pollingInterval:500,iframeAttrs:{style:"position: absolute;left:0px",marginWidth:"0",marginHeight:"0",vspace:"0",hspace:"0",allowTransparency:"true"},parentDivId:c})}else{a.write('<iframe name="google_ads_frame" width='+w(b.google_ad_width)+" height="+w(b.google_ad_height)+" frameborder="+w(b.google_ad_frameborder)+" src="+w(d)+' marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no">');a.write("</iframe>")}if(f!=null){a.write("</div>")}}}else if(b.google_ad_output=="textlink"){a.write('<script language="JavaScript1.1" src='+w(d)+"><\/script>")}}function $(b){for(var a in K){b[a]=null}}function O(){var b=null,a=window,d=document,f=new Date,c=f.getTime(),e=a.google_ad_format;if(a.google_cpa_choice!=b){a.google_ad_url="http://pagead2.googlesyndication.com/cpa/ads?";a.google_ad_url+="client="+escape(E(a.google_ad_client));a.google_ad_region="_google_cpa_region_";h("google_cpa_choice");if(typeof d.characterSet!="undefined"){s("oe",d.characterSet)}else if(typeof d.charset!="undefined"){s("oe",d.charset)}}else{a.google_ad_url="http://pagead2.googlesyndication.com/pagead/ads?";a.google_ad_url+="client="+escape(E(a.google_ad_client))}h("google_ad_host");var g=a.google_num_slots_by_client,l=a.google_num_slots_by_channel,j=a.google_prev_ad_formats_by_region,k=a.google_prev_ad_slotnames_by_region;if(a.google_ad_region==b&&a.google_ad_section!=b){a.google_ad_region=a.google_ad_section}var i=a.google_ad_region==b?"":a.google_ad_region,o=false;if(e){o=e.indexOf("_0ads")>0}else if(a.google_ad_output!="html"&&a.google_num_radlinks>0){o=true}if(o){if(a.google_num_0ad_slots){a.google_num_0ad_slots=a.google_num_0ad_slots+1}else{a.google_num_0ad_slots=1}if(a.google_num_0ad_slots>3){return false}}else if(a.google_cpa_choice==b){if(a.google_num_ad_slots){a.google_num_ad_slots=a.google_num_ad_slots+1}else{a.google_num_ad_slots=1}if(a.google_num_slots_to_rotate){j[i]=b;k[i]=b;if(a.google_num_slot_to_show==b){a.google_num_slot_to_show=c%a.google_num_slots_to_rotate+1}if(a.google_num_slot_to_show!=a.google_num_ad_slots){return false}}else if(a.google_num_ad_slots>6&&i==""){return false}}m("dt",f.getTime());h("google_language");if(a.google_country){h("google_country")}else{h("google_gl")}h("google_region");p("google_city");p("google_hints");h("google_safe");h("google_encoding");h("google_last_modified_time");p("google_alternate_ad_url");h("google_alternate_color");h("google_skip");h("google_targeting");var n=a.google_ad_client;if(!g[n]){g[n]=1;g.length+=1}else{g[n]+=1}if(j[i]){s("prev_fmts",j[i].toLowerCase());if(g.length>1){m("slot",g[n])}}if(k[i]){s("prev_slotnames",k[i].toLowerCase())}if(e&&!a.google_ad_slot){s("format",e.toLowerCase());if(j[i]){j[i]=j[i]+","+e}else{j[i]=e}}if(a.google_ad_slot){if(k[i]){k[i]=k[i]+","+a.google_ad_slot}else{k[i]=a.google_ad_slot}}h("google_max_num_ads");m("output",a.google_ad_output);h("google_adtest");h("google_ad_slot");p("google_correlator");if(a.google_ad_channel){var q=a.google_ad_channel;s("google_ad_channel",q);var A="",t=q.split("+");for(var u=0;u<t.length;u++){var r=t[u];if(!l[r]){l[r]=1}else{A+=r+"+"}}s("pv_ch",A)}p("google_page_url");x("google_color_bg",c);x("google_color_text",c);x("google_color_link",c);x("google_color_url",c);x("google_color_border",c);x("google_color_line",c);if(a.google_reuse_colors)m("reuse_colors",1);else m("reuse_colors",0);h("google_kw_type");p("google_kw");p("google_contents");h("google_num_radlinks");h("google_max_radlink_len");h("google_rl_filtering");h("google_rl_mode");h("google_rt");p("google_rl_dest_url");h("google_num_radlinks_per_unit");h("google_ad_type");h("google_image_size");h("google_ad_region");h("google_feedback");p("google_referrer_url");p("google_page_location");h("google_bid");h("google_cust_age");h("google_cust_gender");h("google_cust_interests");h("google_cust_id");h("google_cust_job");h("google_cust_u_url");h("google_cust_l");h("google_cust_lh");h("google_cust_ch");h("google_ed");p("google_ui_features");p("google_only_ads_with_video");p("google_disable_video_autoplay");if(J(a,d)&&d.body){var v=d.body.scrollHeight,y=d.body.clientHeight;if(y&&v){s("cc",Math.round(y*100/v))}}T();m("ga_vid",a.gaGlobal.vid);m("ga_sid",a.gaGlobal.sid);m("ga_hid",a.gaGlobal.hid);m("ga_fc",a.gaGlobal.from_cookie);p("google_analytics_webpropids");h("google_ad_override");h("google_flash_version");U(a,f);return true}function L(){var b=window,a=document;if(!O()){return}ba(b,a,b.google_ad_url,null);$(b)}function S(b,a,d){L();return true}function J(b,a){return b.top.location==a.location}function I(b,a){var d=a.documentElement;if(J(b,a))return false;if(b.google_ad_width&&b.google_ad_height){var f=1,c=1;if(b.innerHeight){f=b.innerWidth;c=b.innerHeight}else if(d&&d.clientHeight){f=d.clientWidth;c=d.clientHeight}else if(a.body){f=a.body.clientWidth;c=a.body.clientHeight}if(c>2*b.google_ad_height||f>2*b.google_ad_width){return false}}return true}function X(b){var a=window,d=document,f=d.location,c=d.referrer,e=null,g=a.onerror;a.onerror=b;if(a.google_ad_frameborder==e){a.google_ad_frameborder=0}if(a.google_ad_output==e){a.google_ad_output="html"}if(a.google_ad_format==e&&a.google_ad_output=="html"){a.google_ad_format=a.google_ad_width+"x"+a.google_ad_height}if(a.google_page_url==e){a.google_page_url=c;if(!I(a,d)){a.google_page_url=f;a.google_last_modified_time=Date.parse(d.lastModified)/1000;a.google_referrer_url=c}}else{a.google_page_location=c;if(!I(a,d)){a.google_page_location=f}}if(a.google_num_slots_by_channel==e){a.google_num_slots_by_channel=[]}if(a.google_num_slots_by_client==e){a.google_num_slots_by_client=[]}if(a.google_prev_ad_formats_by_region==e){a.google_prev_ad_formats_by_region=[]}if(a.google_prev_ad_slotnames_by_region==e){a.google_prev_ad_slotnames_by_region=[]}if(a.google_correlator==e){a.google_correlator=(new Date).getTime()}if(a.google_adslot_loaded==e){a.google_adslot_loaded={}}if(a.google_adContentsBySlot==e){a.google_adContentsBySlot={}}if(a.google_flash_version==e){a.google_flash_version=P().toString()}a.onerror=g}function M(b){if(b in B){return B[b]}return B[b]=navigator.userAgent.toLowerCase().indexOf(b)!=-1}var B={};function W(b,a){if(b!="html"){return false}var d={};d["ca-pub-7027491298716603"]=true;d["ca-pub-8344185808443527"]=true;return d[E(a)]!=null}function Z(b){var a={},d=b.split("?"),f=d[d.length-1].split("&");for(var c=0;c<f.length;c++){var e=f[c].split("=");if(e[0]){try{a[e[0].toLowerCase()]=e.length>1?(window.decodeURIComponent?decodeURIComponent(e[1].replace(/\+/g," ")):unescape(e[1])):""}catch(g){}}}return a}function Y(){var b=window,a=Z(document.URL);if(a.google_ad_override){b.google_ad_override=a.google_ad_override}}function P(){var b=0;if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){b=a.description.replace(/([a-zA-Z]|\s)+/,"").split(".")[0]}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){b=3;var d=1;while(d){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+(b+1));b++}catch(f){d=null}}}else if(M("msie")&&!window.opera){try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=6;d.AllowScriptAccess="always"}catch(f){if(b==6){return b}}try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(f){}}if(d!=null){b=d.GetVariable("$version").split(" ")[1].split(",")[0]}}return b}Y();X(S);L();})()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -