Ok, prova cosi
codice:
if (parent.location.indexOf(location.hostname)==-1) {
location.href = "http://www.radiohemingway.alessandrofrancia.it";
};