Okay, here's the issue:
A page I have full control of is launching a new window (via JavaScript, naturally). This new window immediately redirects; I have no control over either of these pages.

Here's what I want to do:
I want to set an event that will fire when this new window closes that will redirect the parent window. In other words:
Window A opens Window B
Window B redirects to another page
Window B closes, causes Window A to redirect

Under normal circumstances, I could attach an unload listener to Window B that would set window.opener.location to the desired URL; however, the redirect in Window B causes the unload event to fire immediately, which is not what I want. Any help would be appreciated!