SHARE
TWEET

fake show_ads.js

a guest Jan 23rd, 2012 216 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     (function(){var g=null,h=(new Date).getTime();var i=this,aa=function(a,b){var c=a.split("."),d=i;!(c[0]in d)&amp;&amp;d.execScript&amp;&amp;d.execScript("var "+c[0]);for(var e;c.length&amp;&amp;(e=c.shift());)!c.length&amp;&amp;b!==void 0?d[e]=b:d=d[e]?d[e]:d[e]={}},ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=function(a,b,c){if(!a)throw Error();if(arguments.length&gt;2){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}else return function(){return a.apply(b, arguments)}},j=function(a,b,c){j=Function.prototype.bind&amp;&amp;Function.prototype.bind.toString().indexOf("native code")!=-1?ba:ca;return j.apply(g,arguments)};var ea=/&amp;/g,fa=//g,ha=/\"/g,k={"\x00":"\\0","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\x0B",'"':'\\"',"\\":"\\\\"},p={"'":"\\'"},ja=function(a){for(var b=0,c=String(ia).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),a=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=Math.max(c.length,a.length),e=0;b==0&amp;&amp;e<b>b)return 1;return 0};var ka=document,s=window;var t=function(a){a=parseFloat(a);return isNaN(a)||a&gt;1||a&lt;0?0:a},w=function(a){return a=="true"?!0:a=="false"?!1:!1},la=/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,x=function(a){return!a?"pagead2.googlesyndication.com":(a=a.match(la))?a[0]:"pagead2.googlesyndication.com"};var ma=t("0"),na=t("0"),pa=t("0");var qa=w("false"),ra=w("false"),sa=w("false");var ta=function(){return x("")};var y,z,B,C,ua=function(){return i.navigator?i.navigator.userAgent:g};C=B=z=y=!1;var D;if(D=ua()){var va=i.navigator;y=D.indexOf("Opera")==0;z=!y&amp;&amp;D.indexOf("MSIE")!=-1;B=!y&amp;&amp;D.indexOf("WebKit")!=-1;C=!y&amp;&amp;!B&amp;&amp;va.product=="Gecko"}var E=z,F=C,wa=B,G; a:{var H="",I;if(y&amp;&amp;i.opera)var J=i.opera.version,H=typeof J=="function"?J():J;else if(F?I=/rv\:([^\);]+)(\)|;)/:E?I=/MSIE\s+([^\);]+)(\)|;)/:wa&amp;&amp;(I=/WebKit\/(\S+)/),I)var xa=I.exec(ua()),H=xa?xa[1]:"";if(E){var K,ya=i.document;K=ya?ya.documentMode:void 0;if(K&gt;parseFloat(H)){G=String(K);break a}}G=H}var ia=G,L={},za={},Aa=function(){return za[9]||(za[9]=E&amp;&amp;document.documentMode&amp;&amp;document.documentMode&gt;=9)};!E||Aa();if(F||E)if(!E||!Aa())F&amp;&amp;(L["1.9.1"]||(L["1.9.1"]=ja("1.9.1")&gt;=0));E&amp;&amp;(L["9"]||(L["9"]=ja("9")&gt;=0));x("");var N=function(a){return!!a&amp;&amp;typeof a=="function"&amp;&amp;!!a.call},Ba=function(a,b){if(!(arguments.length&lt;2))for(var c=1,d=arguments.length;c&lt;0.01)a=["http://",ta(),"/pagead/gen_204","?id=jserror","&amp;jscb=",qa?1:0,"&amp;jscd=",ra?1:0,"&amp;context=",O(a),"&amp;msg=",O(b),"&amp;file=",O(c),"&amp;line=",O(d.toString()),"&amp;url=",O(ka.URL.substring(0,512)),"&amp;ref=",O(ka.referrer.substring(0,512))],a.push(["&amp;client=",O(s.google_ad_client),"&amp;format=",O(s.google_ad_format),"&amp;slotname=",O(s.google_ad_slot),"&amp;output=",O(s.google_ad_output),"&amp;ad_type=",O(s.google_ad_type)].join("")),a=a.join(""),s.google_image_requests|| (s.google_image_requests=[]),b=new Image,b.src=a,s.google_image_requests.push(b);return!sa});var Da=function(a){try{var b=a.google_test;a.google_test=!b;if(a.google_test===!b)return a.google_test=b,!0}catch(c){}return!1},P=g,Ea=function(){if(!P){for(var a=window;a!=a.parent&amp;&amp;Da(a.parent);)a=a.parent;P=a}return P};var Q,R=function(a){this.c=[];this.a=a||window;this.b=0;this.d=g},Fa=function(a,b){this.l=a;this.i=b};R.prototype.n=function(a,b){this.b==0&amp;&amp;this.c.length==0&amp;&amp;(!b||b==window)?(this.b=2,this.g(new Fa(a,window))):this.h(a,b)};R.prototype.h=function(a,b){this.c.push(new Fa(a,b||this.a));S(this)};R.prototype.o=function(a){this.b=1;if(a)this.d=this.a.setTimeout(j(this.f,this),a)};R.prototype.f=function(){if(this.b==1){if(this.d!=g)this.a.clearTimeout(this.d),this.d=g;this.b=0}S(this)};R.prototype.p=function(){return!0}; R.prototype.nq=R.prototype.n;R.prototype.nqa=R.prototype.h;R.prototype.al=R.prototype.o;R.prototype.rl=R.prototype.f;R.prototype.sz=R.prototype.p;var S=function(a){a.a.setTimeout(j(a.m,a),0)};R.prototype.m=function(){if(this.b==0&amp;&amp;this.c.length){var a=this.c.shift();this.b=2;a.i.setTimeout(j(this.g,this,a),0);S(this)}};R.prototype.g=function(a){this.b=0;a.l()}; var Ga=function(a){try{return a.sz()}catch(b){return!1}},Ia=function(a){return!!a&amp;&amp;(typeof a=="object"||typeof a=="function")&amp;&amp;Ga(a)&amp;&amp;N(a.nq)&amp;&amp;N(a.nqa)&amp;&amp;N(a.al)&amp;&amp;N(a.rl)},Ja=function(){if(Q&amp;&amp;Ga(Q))return Q;var a=Ea(),b=a.google_jobrunner;return Ia(b)?Q=b:a.google_jobrunner=Q=new R(a)},Ka=function(a,b){Ja().nq(a,b)},La=function(a,b){Ja().nqa(a,b)};var Ma=/MSIE [2-7]|PlayStation|Gecko\/20090226/i,Na=/Android|Opera/,Oa=function(){var a=T,b=U.google_ad_width,c=U.google_ad_height,d=["<iframe in="">");b="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px";return['<ins style="display:inline-table;',b,'"><ins id="',a.id+" style="display:block;',b,'">',d.join(" "),"</ins></ins>"].join("")};var Pa=function(){},Ra=function(a,b,c){switch(typeof b){case "string":Qa(b,c);break;case "number":c.push(isFinite(b)&amp;&amp;!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==g){c.push("null");break}if(b instanceof Array){var d=b.length;c.push("[");for(var e="",f=0;f&lt;16?e+="000":b&lt;256?e+="00":b&lt;4096&amp;&amp;(e+="0");return Sa[a]=e+b.toString(16)}));b.push('"')};var V="google_ad_block,google_ad_channel,google_ad_client,google_ad_format,google_ad_height,google_ad_host,google_ad_host_channel,google_ad_host_tier_id,google_ad_output,google_ad_override,google_ad_region,google_ad_section,google_ad_slot,google_ad_type,google_ad_width,google_adtest,google_allow_expandable_ads,google_alternate_ad_url,google_alternate_color,google_analytics_domain_name,google_analytics_uacct,google_bid,google_city,google_color_bg,google_color_border,google_color_line,google_color_link,google_color_text,google_color_url,google_container_id,google_contents,google_country,google_cpm,google_ctr_threshold,google_cust_age,google_cust_ch,google_cust_gender,google_cust_id,google_cust_interests,google_cust_job,google_cust_l,google_cust_lh,google_cust_u_url,google_disable_video_autoplay,google_ed,google_eids,google_enable_ose,google_encoding,google_font_face,google_font_size,google_frame_id,google_gl,google_hints,google_image_size,google_kw,google_kw_type,google_language,google_max_num_ads,google_max_radlink_len,google_num_radlinks,google_num_radlinks_per_unit,google_num_slots_to_rotate,google_only_ads_with_video,google_only_pyv_ads,google_only_userchoice_ads,google_override_format,google_page_url,google_previous_watch,google_previous_searches,google_referrer_url,google_region,google_reuse_colors,google_rl_dest_url,google_rl_filtering,google_rl_mode,google_rt,google_safe,google_scs,google_skip,google_tag_info,google_targeting,google_ui_features,google_ui_version,google_video_doc_id,google_video_product_type,google_with_pyv_ads".split(",");var W=function(a){this.a=a;a.google_iframe_oncopy||(a.google_iframe_oncopy={handlers:{},log:[],img:Math.random()&lt;0.01?[]:g});this.e=a.google_iframe_oncopy;a.setTimeout(j(this.k,this),3E4)},Ua;var X="var i=this.id,s=window.google_iframe_oncopy,H=s&amp;&amp;s.handlers,h=H&amp;&amp;H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&amp;&amp;d&amp;&amp;(!d.body||!d.body.firstChild)){if(h.call){i+='.call';setTimeout(h,0)}else if(h.match){i+='.nav';w.location.replace(h)}s.log&amp;&amp;s.log.push(i)}"; /[&amp;&lt;&gt;\"]/.test(X)&amp;&amp;(X.indexOf("&amp;")!=-1&amp;&amp;(X=X.replace(ea,"&amp;")),X.indexOf("&lt;")!=-1&amp;&amp;(X=X.replace(fa,"&lt;")),X.indexOf("&gt;")!=-1&amp;&amp;(X=X.replace(ga,"&gt;")),X.indexOf('"')!=-1&amp;&amp;(X=X.replace(ha,""")));Ua=X;W.prototype.set=function(a,b){this.e.handlers[a]=b;this.a.addEventListener&amp;&amp;this.a.addEventListener("load",j(this.j,this,a),!1)};W.prototype.j=function(a){var a=this.a.document.getElementById(a),b=a.contentWindow.document;if(a.onload&amp;&amp;b&amp;&amp;(!b.body||!b.body.firstChild))a.onload()}; W.prototype.k=function(){if(this.e.img){var a=this.e.log,b=this.a.document;if(a.length)b=["http://",ta(),"/pagead/gen_204?id=iframecopy&amp;log=",O(a.join("-")),"&amp;url=",O(b.URL.substring(0,512)),"&amp;ref=",O(b.referrer.substring(0,512))].join(""),a.length=0,a=new Image,this.e.img.push(a),a.src=b}};var Va=function(){var a="script";return["&lt;",a,' src="http://',x(""),'/pagead/js/r20110907/r20110914/show_ads_impl.js"&gt;&lt;/',a,"&gt;"].join("")},Wa=function(a,b,c,d){return function(){var e=!1;d&amp;&amp;Ja().al(3E4);try{var f;try{f=!!a.document.getElementById(b).contentWindow.document}catch(oa){f=!1}if(f){var r=a.document.getElementById(b).contentWindow, l=r.document;if(!l.body||!l.body.firstChild)l.open(),r.google_async_iframe_close=!0,l.write(c)}else{var m=a.document.getElementById(b).contentWindow,n;f=c;f=String(f);if(f.quote)n=f.quote();else{r=['"'];for(l=0;l31&amp;&amp;Ha&lt;127)A=M;else{var o=M;if(o in p)A=p[o];else if(o in k)A=p[o]=k[o];else{var u=o,v=o.charCodeAt(0);if(v&gt;31&amp;&amp;v&lt;127)u=o;else{if(v&lt;256){if(u="\\x",v&lt;16||v&gt;256)u+="0"}else u="\\u",v&lt;4096&amp;&amp;(u+="0"); u+=v.toString(16).toUpperCase()}A=p[o]=u}}da=A}pb[qb]=da}r.push('"');n=r.join("")}m.location.replace("javascript:"+n)}e=!0}catch(xb){m=Ea().google_jobrunner,Ia(m)&amp;&amp;m.rl()}e&amp;&amp;(new W(a)).set(b,Wa(a,b,c,!1))}},Xa=function(){return ma&amp;&amp;na/ma||typeof window.google_hash_ratio=="number"&amp;&amp;window.google_hash_ratio||g};window.google_loader_used=!0;(function(a){if(!("google_onload_fired"in a))a.google_onload_fired=!1,Ca(a,function(){a.google_onload_fired=!0})})(window);if(!window.google_loader_experiment){var Ya;a:{var Za=["async_bad_black","block_bad_black"];if(!(Math.random()&lt;1.0E-4)){var $a=Math.random();if($a&lt;",_script$$inline_161,"&gt;",jb,"google_show_ads_impl=true;google_unique_id=",Y.google_unique_id,';google_async_iframe_id="',Z,'";google_start_time=', h,";",wb?"google_hash_ratio="+wb+";":"",yb?'google_loader_experiment="'+yb+'";':"","google_bpp=",vb&gt;h?vb-h:1,";&lt;/",_script$$inline_161,"&gt;",Va(),""].join("");(Y.document.getElementById(Z)?Ka:La)(Wa(Y,Z,zb,!0))}else window.google_start_time=h,window.google_hash_ratio=Xa(),document.write(Va());})();</iframe></b>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top