I cant seem to work out why it doesn't seem to be saving when reloading the page (even though it appears to be saving the object to storage.
Here's the relevant code:
options.js
function saveSettings(){ var settings = { "blockComments": document.querySelector("input[name='BlockComments']:checked"), "visualDisplay": document.getElementById("visualDisplay").options[document.getElementById("visualDisplay").selectedIndex], "shortcut": document.querySelectorAll("[data-shortcut-key] option:checked") }; // Store options object chrome.storage.sync.set({"data": settings}, function() { // Update status to let user know options were saved. var status = document.getElementById('status'); status.textContent = 'Options saved.'; setTimeout(function() { status.textContent = ''; }, 2000); }); } // This is called on DOMContentReady and is triggered function restoreSettings(){ chrome.storage.sync.get("data", function(items) { console.log(items.data); // Returns empty object(s) }); } What the console.log displays:

Not sure why they're empty. Any help?