How to add an onLoad function to an opened window? (target is "self", not window.open, just a regular link)
Is it possible with onbeforeunload or something? Or add onclick to the "normal link"?
I mean like this:
<a href="page2.htm" onclick="theWindowIHaveOpened.onLoad = function(){alert('loaded')}">...