dcsimg

How do I force a page to load in the top frame (break out of any subframes others tried to put me in)?

Troy Niven

Add the following script between the <head></head> tags of your document.

<script language="javascript">
if (self != top) top.location.replace(self.location.href);
</script>