Edit in JSFiddle
JavaScript
HTML
CSS
Result
window.onload = function (e) { console.log(e); };