• Joel Martin's avatar
    webutil.js: add localStorage/chrome.storage settings. · 3af1c275
    Joel Martin authored
    Add routines to store/read settings in either localStorage or in
    chrome.storage.sync (which is synchronized between browsers for
    extensions/apps).
    
    Before using chrome.storage.sync the initSettings routine must to
    called setup the intermediate cache which speeds up access and allows
    multiple setting changes to be coallesced to avoid hitting storage
    change frequency limits/quotas.
    3af1c275
webutil.js 5.68 KB