title: location.href only working in Chrome
body: <p>[Edit: ok, my bad. The redirect works, it's an error in app.php that immediately redirects back to index.php. Thanks for your help though :) ]</p>
  
  <p>So I'm building this Facebook-app where, after a bunch of steps, you're redirected (inside an iframe) to a PHP file named app.php. This redirect is done using JS:</p>
  
  <pre><code>// this is in 'join-app.js':
  location.href = "app.php?userid=" + userdata.id;
  </code></pre>
  
  <p>This bit of JS is in a seperate .js-file (join-app.js) which is loaded into index.php:</p>
  
  <pre><code>&lt;!-- this is in 'index.php': --&gt;
  &lt;script language="javascript" type="text/javascript" src="js/join-app.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>index.php is the source of the iframe on Facebook.</p>
  
  <p>The above works fine in Chrome on OS X, but for some reason it does not work in Safari on OS X, or IE on Windows. It does work on Firefox on OS X and Windows... In IE and Safari, the index.php page just keeps getting reloaded.</p>