| author | Anthony Ly <anthonyly.com@gmail.com> |
| Tue, 09 Oct 2012 16:31:25 +0200 | |
| changeset 4 | b00fdbef41d4 |
| permissions | -rw-r--r-- |
|
4
b00fdbef41d4
ajout du header sur pages articles
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
1 |
/*!Version: 13.3*/ |
|
b00fdbef41d4
ajout du header sur pages articles
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff
changeset
|
2 |
var cdxFeatures;function cdxNavigationTiming(a){this.timing=a.timing}cdxNavigationTiming.prototype.go=function(c){if(this.timing){var a=cdxFeatures,b=a.reqs[c];this.report(b,"fetchStart","loadEventEnd","HTTP_NAVTIME_FULLPAGELOAD","SSL_NAVTIME_FULLPAGELOAD");this.report(b,"responseStart","responseEnd","HTTP_NAVTIME_RESPONSE","SSL_NAVTIME_RESPONSE");this.report(b,"responseEnd","loadEventEnd","HTTP_NAVTIME_PROCLOAD","SSL_NAVTIME_PROCLOAD");a.submitReportBatch()}};cdxNavigationTiming.prototype.report=function(e,g,d,i,b){var h=cdxFeatures,a=this.timing[g],f=this.timing[d],c;if(a&&f){c=f-a;if(c<=e.maxNavTimingValue){h.addReport("f1",e,e.zid+"/"+e.cid+"/"+e.pid+"/"+cdxCore.getProbeTypeCode((location.protocol==="https:")?b:i)+"/0/"+c.toString(10))}}return c};(function(){var a;if(cdxFeatures&&!cdxFeatures.navigationTiming){a=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};cdxFeatures.navigationTiming=new cdxNavigationTiming(a)}}()); |