So I rewrote the decorator to handle an array of menu items instead of one giant template string.
Now what I'd like to do is allow the user to customize this list using chrome.storage.sync but a GUI needs to be created for this. The chrome.storage.sync is identical to localStorage except it can be accessed by all pages related to an extension, AND the .sync subgroup will keep the user's configuration stored across multiple chrome installs (super cool).
So I rewrote the decorator to handle an array of menu items instead of one giant template string.
Now what I'd like to do is allow the user to customize this list using
chrome.storage.sync
but a GUI needs to be created for this. Thechrome.storage.sync
is identical tolocalStorage
except it can be accessed by all pages related to an extension, AND the.sync
subgroup will keep the user's configuration stored across multiple chrome installs (super cool).