title: window.location.href not working in chrome extension
body: <p><code>this.window.location.href</code> is not working in chrome extension
  in the html file i tried this function in the script:</p>
  
  <pre><code>function myFunction()
  {
     var pl = this.window.location.href;
     var sWords= localStorage.getItem(pl);
     document.write(pl);
  }
  </code></pre>
  
  <p>and it gives me:</p>
  
  <pre><code>chrome-extension://ebeadbfnnghmakkbimckpdmocjffkbjc/popup.html
  </code></pre>
  
  <p>so what i should do to get the link of the page?</p>