async function getSettings() {
    var response = await chrome.runtime.sendMessage({ action: "getSettings" });
    if (response.status != "ok") {
        throw new Error(response.message);
    }

    // 'default' store must not be displayed or later attempted to be saved
    delete response.settings.stores.default;

    return response.settings;
}
Get settings

@since 3.0.9

@return object Settings object