I'm creating some IFrameable content. We want the user to be able to IFrame this page, but only from a set list of domains.
Is there anything that we can check to see what the domain name of the parent page is?
if (top != self) { top.location.replace(self.location.href); }