MCPcopy
hub / github.com/zxlie/FeHelper / setLocalSetting

Function setLocalSetting

apps/popup/theme-boot.js:19–25  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

17 }
18
19 function setLocalSetting(key, value) {
20 try {
21 if (value !== undefined && value !== null) {
22 localStorage.setItem(key, value);
23 }
24 } catch (e) {}
25 }
26
27 function prefersColorSchemeDark() {
28 try {

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected