I have an iFrame with a JS link using window.location. I would like this link to replace the parent page instead of changing the window inside the iFrame.

How do I do this? I've been looking all over Google and haven't found a solution.

Thanks.