I\'m trying to use chrome storage in an extension, via a content_script, but I keep failing on
Uncaught TypeError: Cannot read property \'sync\' of undefine
You have to add the "storage" permission in your manifest.json file, i.e.:
... "permissions": [ "storage" ], ...
For more information, see: https://developer.chrome.com/extensions/storage