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);
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.