⬅︎ Back to window.onload from before
Yes because if you have not defined window.onload before you grab is using 'var prev_onload = window.onload;' prev_onload will be null instead of a function.
Are you sure, isn't window.onload always an object?
Comment
Yes because if you have not defined window.onload before you grab is using 'var prev_onload = window.onload;' prev_onload will be null instead of a function.
Parent comment
Are you sure, isn't window.onload always an object?