title: Javascript Page Redirect
body: <p>I'm trying to use this script that will redirect any webpage to another webpage with a query including the previous webpage's URL.</p>
  
  <p>The code I'm attempting to use looks as such:</p>
  
  <pre><code>window.location = "http://www.readability.com/m?url=" + document.URL;
  </code></pre>
  
  <p>It's not working though, for what reason I can't figure out. I'm not to familiar with encoding, so this may be the problem. As this works...</p>
  
  <pre><code>window.location = "http://www.readability.com"
  </code></pre>
  
  <p>But this does not work</p>
  
  <pre><code>window.location = "http://www.readability.com/"
  </code></pre>
  
  <p>Furthmore I'm working with a mobile browser, not anything like chrome. So it may just be an issue with that, but it may not be. Thanks for reading, and thanks in advance for any help.</p>