I have a popup that plays a full song. I have it in a popup so you can listen to it and browse the site at the same time, rather than losing it as soon as you leave the page.
However, as a person who hates popups and finds that, after a while of surfing different sites, they tend to accumulate if you don't see them, I would like to have this one close when the person leaves the site.
I have external links in my site, but they all open to "target=_blank". Internal links remain in the same parent window.
Is there a way to tell the popup that the parent window is leaving the domain (yes, I have a real domain name - that must make it easier?) and to shut down, without making the user do it?