consider this situation

Window A opens a new Window B.

B can access window A's href by window.opener.location.href

However if you change the page ( go to some other page in window A),
then calling window.opener.location.href from window B will have "permission
denied error".

Is there anyway we can check that the window A's location has changed ?

thanks in advance,
kaushik