MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / loadSettings

Function loadSettings

extension/options.js:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34function loadSettings() {
35 chrome.storage.local.get(DEFAULT_SETTINGS, (stored) => {
36 const settings = normalizeSettings(stored);
37 $("serverUrl").value = settings.serverUrl;
38 $("apiKey").value = settings.apiKey;
39 $("routeKey").value = settings.routeKey;
40 $("clientLabel").value = settings.clientLabel;
41 });
42}
43
44function saveSettings() {
45 const settings = normalizeSettings({

Callers 1

options.jsFile · 0.85

Calls 2

normalizeSettingsFunction · 0.85
$Function · 0.85

Tested by

no test coverage detected