Eu quero redirecionar para a página principal do iframe javaScript
//Will redirect the top most parent Iframe.
window.top.location.href = "http://www.example.com";
//Will redirect the parent iframe.
window.parent.location.href = "http://www.example.com";
Friendly Fowl