Can you identify this javascript that is in the head of the simple template?
Taryn Shelford <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
I would like to know what this script does or why it is included in the
simple template. When I view the source code of my blog in a web browser,
the following script shows up within the head tags. I assume it is called by
<b:include data='blog' name='all-head-content'/>
because when I remove it from the template, the script does not show up in
the source code.
I have just started working with the blog and template, and I have not
added anything like Adsense or Analytics. My blog is at
http://tarynshelford.blogspot.com/.
This is the script:
<script type="text/javascript">(function() { var
b=window,f="chrome",g="tick",k="jstiming";(function(){function
d(a){this.t={};this.tick=function(a,d,c){var e=void 0!=c?c:(new
Date).getTime();this.t[a]=[e,d];if(void
0==c)try{b.console.timeStamp("CSI/"+a)}catch(h){}};this[g]("start",null,a)}var
a;b.performance&&(a=b.performance.timing);var n=a?new
d(a.responseStart):new d;b.jstiming={Timer:d,load:n};if(a){var
c=a.navigationStart,h=a.responseStart;0<c&&h>=c&&(b[k].srt=h-c)}if(a){var
e=b[k].load;0<c&&h>=c&&(e[g]("_wtsrt",void
0,c),e[g]("wtsrt_","_wtsrt",h),e[g]("tbsd_","wtsrt_"))}try{a=null,
b[f]&&b[f].csi&&(a=Math.floor(b[f].csi().pageT),e&&0<c&&(e[g]("_tbnd",void
0,b[f].csi().startE),e[g]("tbnd_","_tbnd",c))),null==a&&b.gtbExternal&&(a=b.gtbExternal.pageT()),null==a&&b.external&&(a=b.external.pageT,e&&0<c&&(e[g]("_tbnd",void
0,b.external.startE),e[g]("tbnd_","_tbnd",c))),a&&(b[k].pt=a)}catch(p){}})();b.tickAboveFold=function(d){var
a=0;if(d.offsetParent){do
a+=d.offsetTop;while(d=d.offsetParent)}d=a;750>=d&&b[k].load[g]("aft")};var
l=!1;function
m(){l||(l=!0,b[k].load[g]("firstScrollTime"))}b.addEventListener?b.addEventListener("scroll",m,!1):b.attachEvent("onscroll",m);
})();</script>
I know next to nothing about javascript and have searched online using a
lot of different search terms and I cannot find an explanation for the
purpose of this script.
I will appreciate your help with this.
Thanks, Taryn
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.