title: Bypass iFrame buster script
body: <p>I'm developing a chrome extension and I want to bypass iFrame detection (ie buster) scripts.</p>
  
  <p>I'm able to bypass this detection:</p>
  
  <pre><code>if (top !== self) {
     //break out
  }
  </code></pre>
  
  <p>with injecting this code on top:</p>
  
  <pre><code>window.self = window.top;
  </code></pre>
  
  <p>But what if I have something like this:</p>
  
  <pre><code>if (window != top) {
     //break out
  }
  </code></pre>
  
  <p>How can I redefine <code>window</code> ?</p>