title: how to set a cookie in current tab once ive grabbed it from an iframe -- chrome extension -- chrome.cookies is unavailable
body: <p>pen (sry fiddler kept resetting my fiddle instead of saving): <a href="http://codepen.io/anon/pen/RWqmPr" rel="nofollow">http://codepen.io/anon/pen/RWqmPr</a> </p>
  
  <p>in my local, i have gotten it setup where the iframe is successfully grabbing another sites cookie and displaying it as the iframes innerHTML basically. i have it set into a var = cookieVal; as well.</p>
  
  <p>i was going to try a document.cookie = "...cookieVal" within the setMyCookie() function thats triggered by the chrome extension... but wouldnt that just set the cookie for actual extension's page and not the current tab that youre in?</p>
  
  <p>i have seen messaging as a possible solution but i dont quite understand how to implement it here. so if that is a solution some direction there would be nice. </p>
  
  <p>manifest permissions:</p>
  
  <pre><code>"permissions": [
      "cookies",
      "history",
      "tabs",
      "https://*.cars.com/",
      "https://www.cars.com/profile/global/user-summary/"
      "http://*/*"
  ]
  </code></pre>