title: Google Chrome Extension - Redirect
body: <p>The function I'm looking for:</p>
  
  <p>Say I'm browsing "domainname.com", I click the extension, That then redirects me to myurl.com/site/domainname.com. I have searched everywhere and had no luck.</p>
  
  <p>So from what ever "url" the user is browsing, they click the extension and it will redirect them to myurl.com/site/"Url"</p>
  
  <p>Links to a helpful article or some code to finish off my script would greatly appreciated. I have a basic .json file setup from some demo extensions, I need help with grabbing the users current url and then redirect to my site if they click. Thanks in advance...</p>
  
  <blockquote>
    <p>Edited the question slightly. Hope it make a little more sense now.</p>
  </blockquote>