Access cookies from Google Chrome extension
Currently the best (the simplest) way to get site cookies in an extension is put this code in your background script: chrome.cookies.get({ url: ‘http://example.com’, name: ‘somename’ }, function (cookie) { if (cookie) { console.log(cookie.value); } else { console.log(‘Can\’t get cookie! Check the name!’); } }); So now you don’t need content script for this but … Read more