var myUrl = ''> if(window.top.location.href !== myUrl) { window.top.location.href = myUrl; }