Refresh page to break out of frame

Refresh page to break out of frame:

<script type="text/javascript">
 if (top.location!= self.location) { top.location.replace( self.location.href ); }
 </script>