How do you break out of frames without breaking the browser's back button?
<p>A site that links to mine keeps my site in a frame, so I added the following JavaScript to my page:</p>

<pre><code>if (window.top.location != window.location) {
    window.top.location = window.location
}
</code></pre>

<p>Now if I get to my site via the offending site, my site successfully breaks out of the frame. But the back button breaks! The back button sends the user to the framed version of my site, which immediately breaks out again, returning him to where he was trying to leave! Is there a simple way to fix this?</p>
