title: How to set the variable with chrome.storage.local.get in chrome
body: <pre><code>var curline;
  chrome.storage.local.get("value",function(item)
  {
      window.curline=item["value"];
  
  });
  alert(curline);
  </code></pre>
  
  <p>I want to set the <code>curline</code> with <code>item["value"]</code>,this code is in the<code>inject.js</code>,thanks.</p>