MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / init

Function init

src/background/sync/base.js:105–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 setOption(keys, value);
104 }
105 function init() {
106 let config = getOption('sync');
107 if (!config || !config.services) {
108 config = {
109 services: {},
110 };
111 set([], config);
112 }
113 }
114 init();
115 return { get, set };
116}

Callers 2

initConfigFunction · 0.70
buildConfigFunction · 0.50

Calls 2

getOptionFunction · 0.90
setFunction · 0.70

Tested by

no test coverage detected