Created
October 1, 2009 10:40
-
-
Save NV/198885 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this gist is response to http://dmitry.baranovskiy.com/post/201475166 | |
// Code by Dmitry Baranovskiy | |
var w=window,e=w.addEventListener,v=w.attachEvent;e&&e("load",a,!1);v&&v("onload",a);google.timers.load.t.prt=+new Date; | |
// Mine optimization. 4 characters less! | |
window[/*@cc_on'attachEvent'||@*/'addEventListener'](/*@cc_on'on'+@*/'load',a,0);google.timers.load.t.prt=+new Date; | |
// I found /*@cc_on @*/ trick at http://lusever.livejournal.com/43326.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment