Created
January 9, 2015 00:19
-
-
Save brettjonesdev/8d23f24b43dcf8fe570f 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
<script type="text/javascript"> | |
(function() { | |
function customScript() { | |
/* Your custom code */ | |
} | |
if (window.addEventListener) { | |
window.addEventListener("load",customScript,false); | |
} else if (window.attachEvent) { | |
window.attachEvent("onload",customScript); | |
} | |
})() | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment