Skip to content

Instantly share code, notes, and snippets.

@davwheat
Created March 3, 2019 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davwheat/b0f709cab7c318c535e55a2cae53ddfd to your computer and use it in GitHub Desktop.
Save davwheat/b0f709cab7c318c535e55a2cae53ddfd to your computer and use it in GitHub Desktop.
<script nonce="pHE2XBMq8n9F7Kn7TuEPxg==">(function(){window.google.cdo={height:937,width:1250};(function(){var a=window.innerWidth,b=window.innerHeight;if(!a||!b){var c=window.document,d="CSS1Compat"==c.compatMode?c.documentElement:c.body;a=d.clientWidth;b=d.clientHeight}a&&b&&(a!=google.cdo.width||b!=google.cdo.height)&&google.log("","","/client_204?&atyp=i&biw="+a+"&bih="+b+"&ei="+google.kEI);}).call(this);})();(function(){var u='/xjs/_/js/k\x3dxjs.hp.en.lgolC6Rs_7I.O/m\x3dsb_he,hjsa,d,csi/am\x3dioEW/rt\x3dj/d\x3d1/rs\x3dACT90oEMk6a6O5JjcCZYRFDVdR0sHstsDw';setTimeout(function(){var a=document.createElement("script");a.src=u;google.timers&&google.timers.load&&google.tick&&google.tick("load","xjsls");document.body.appendChild(a)},0);})();(function(){window.google.xjsu='/xjs/_/js/k\x3dxjs.hp.en.lgolC6Rs_7I.O/m\x3dsb_he,hjsa,d,csi/am\x3dioEW/rt\x3dj/d\x3d1/rs\x3dACT90oEMk6a6O5JjcCZYRFDVdR0sHstsDw';})();function _DumpException(e){throw e;}
(function(){var pmc='{\x22Qnk92g\x22:{},\x22U5B21g\x22:{},\x22YFCs/g\x22:{},\x22ZI/YVQ\x22:{},\x22csi\x22:{},\x22d\x22:{},\x22hjsa\x22:{},\x22sb_he\x22:{\x22agen\x22:true,\x22cgen\x22:true,\x22client\x22:\x22heirloom-hp\x22,\x22dh\x22:true,\x22dhqt\x22:true,\x22ds\x22:\x22\x22,\x22edzp\x22:true,\x22ffql\x22:\x22en\x22,\x22fl\x22:true,\x22fpol\x22:true,\x22host\x22:\x22google.com\x22,\x22isbh\x22:28,\x22jsonp\x22:true,\x22msgs\x22:{\x22cibl\x22:\x22Clear Search\x22,\x22dym\x22:\x22Did you mean:\x22,\x22lcky\x22:\x22I\\u0026#39;m Feeling Lucky\x22,\x22lml\x22:\x22Learn more\x22,\x22oskt\x22:\x22Input tools\x22,\x22psrc\x22:\x22This search was removed from your \\u003Ca href\x3d\\\x22/history\\\x22\\u003EWeb History\\u003C/a\\u003E\x22,\x22psrl\x22:\x22Remove\x22,\x22sbit\x22:\x22Search by image\x22,\x22srch\x22:\x22Google Search\x22},\x22ovr\x22:{},\x22pfof\x22:true,\x22pq\x22:\x22\x22,\x22refpd\x22:true,\x22rfs\x22:[],\x22sbpl\x22:24,\x22sbpr\x22:24,\x22scd\x22:10,\x22sce\x22:5,\x22stok\x22:\x22Cn6x7Qv77qQIFTeK-tTJGg0GELQ\x22,\x22token\x22:\x22Tv9CSGhu4VARceJPDnuVyA\x22,\x22ueh\x22:\x2270e812b7_28f4e0d0_b2304a49_a2597d85_f421ebcf\x22,\x22uhde\x22:false}}';google.pmc=JSON.parse(pmc);})();(function(){var g=function(a,c){if(!a)return 0;if(!c){if("none"==a.style.display)return 0;if(document.defaultView&&document.defaultView.getComputedStyle){var b=document.defaultView.getComputedStyle(a);if(b&&("hidden"==b.visibility||"0px"==b.height||"0px"==b.width))return 0}}if(!a.getBoundingClientRect)return 1;b=a.getBoundingClientRect();var d=b.left+window.pageXOffset,e=b.top+window.pageYOffset;return!c&&(0>=b.height||0>=b.width)?0:0>e+b.height?2:e>(window.innerHeight||document.documentElement.clientHeight)?3:0>d+b.width||d>(window.innerWidth||document.documentElement.clientWidth)?4:1};var h,k=["aft","hct","prt","pprt","sct"];function m(a){return(a=n.search.match(new RegExp("[?&]"+a+"=(\\d+)")))?Number(a[1]):-1}function p(a){h.removeEventListener("click",p);a.stopPropagation&&a.stopPropagation()}
var q=function(){var a=google.timers.load,c=m("qsubts");if(0<c){var b=m("fbts");0<b&&(a.t.start=Math.max(c,b))}var d=a.t,e=d.start;b={wsrt:a.wsrt};for(var C=0,l;l=k[C++];){var v=d[l];v&&e&&(b[l]=v-e)}0<c&&(b.gsasrt=Math.abs(a.t.start-c));a="/gen_204?s="+google.sn+"&t=aft&atyp=csi&ei="+google.kEI+"&rt=";c="";for(var f in b)a+=c+f+"."+b[f],c=",";google.cshid&&(a+="&cshid="+google.cshid);(f=window.performance&&window.performance.navigation)&&2==f.type&&(a+="&bb=1");f=a;(h=document.getElementById("csi-ping"))?(h.addEventListener("click",p),h.setAttribute("ping",f),h.click()):navigator.sendBeacon?navigator.sendBeacon(f,""):google.log("","",f)},n=location;var r=0,t=0,u=0,w=0,x,y;function z(a,c,b,d){var e=google.timers.load.t[a];e&&(b||d&&c&&c<e)||google.tick("load",a,c)}function A(a,c){c=c||google.time();z("aft",c,!1,!0);++w;x||w!=u||q();B(a,c)}function B(a,c){var b=c||google.time();z("iml",b,!1,!0);++t;D()}function D(){y||t!=r||google.c.u("il")}
function E(a){var c="string"!=typeof a.src||!a.src,b=!!a.getAttribute("data-bsrc"),d=(c||a.complete)&&!a.getAttribute("data-deferred")&&!b;c=d&&Number(a.getAttribute("data-iml"))||0;b=g(a,b);a.setAttribute("data-atf",b);++r;d&&!c||a.hasAttribute("data-noaft")?++t:(d=(b=1==b)?A:B,b&&++u,c?d(void 0,c):google.rll(a,!0,d))};(function(){var a=google.time();if(google.timers&&google.timers.load.t){y=x=!0;google.c.b("il");for(var c=document.getElementsByTagName("img"),b=0,d=void 0;d=c[b++];)E(d);z("prt",a);z("aft",a,!0);z("iml",a,!0);x&&((x=!1,w!=u)||q());y=!1;D();google.rll(window,!1,function(){z("ol",void 0);google.c.e("load","imn",String(r));google.c.u("pr")});google.c.c.n&&document.getElementsByClassName("native_iml_flag").length&&google.c.b("ncr")}})();}).call(this);</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment