if (window.top !== window.self) window.top.location.replace(window.self.location.href);
Javascript: como previnir que seu site carregue dentro de um iframe
Simples: if (window.top !== window.self) window.top.location.replace(window.self.location.href);
Simples:
André Jaccon