async function getLocalSettings() {
    var settings = helpers.deepCopy(defaultSettings);

    var items = await chrome.storage.local.get(Object.keys(defaultSettings));
    for (var key in defaultSettings) {
        var value = null;
        if (Object.prototype.hasOwnProperty.call(items, key)) {
            value = items[key];
        }

        if (value !== null && Boolean(value)) {
            settings[key] = value;
        }
    }

    return settings;
}
Get Local settings from the extension

@since 3.0.0

@return object Local settings from the extension