MDN self-hosted library · e01.org

Site compatibility for Firefox 3

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
window.addEventListener("load", yourFunction, true);
js
window.addEventListener("load", yourFunction, false);