title: Get current URL with Chrome Extension
body: <p>I'm trying to write a Chrome extension that will take the URL of the page the user is on and send it to a server for a response back.</p>
  
  <p>So far I have been trying to use <code>chrome.tabs.getCurrent()</code>, but I get uncaught TypeError on the getCurrent object.</p>
  
  <p>Is there an easy way for doing this?  </p>