In a Firefox Addon I delegate the User to a new URL through
window.content.wrappedJSObject.location = 'http://newlocation/';
What I am asking for is a load event
binding for the site-change. I tried
window.content.addEventListener('load', function() { });
.. which won't work.
Does this example cover what you want: On page load ?
If not, you have to specify further what you mean.