Q:

JavaScript - Press Space when page finished loading

How do I trigger the page to press Space when it has finished loading? 
I've tried:
$(window).load(function () {
    $.keypress(e.keyCode(32));
});

A:

Firstly, not 100% sure why you'd want to do this, but ignoring that, triggering stuff like this always seems to be unreliable, but this is the best way:
$(window).load(function () {
    var e = $.Event("keydown");
    e.which = 32; // space key code value
    $(this).trigger(e);
});

But there's probably better ways to trigger whatever you want to do after the space is hit.