MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / setStorageData

Function setStorageData

Script/siteconfig.js:120–129  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

118 }
119
120 function setStorageData(items) {
121 return new Promise((resolve, reject) => {
122 chrome.storage.local.set(items, () => {
123 if (chrome.runtime.lastError) {
124 return reject(chrome.runtime.lastError);
125 }
126 resolve();
127 });
128 });
129 }
130
131 function removeStorageData(keys) {
132 return new Promise((resolve, reject) => {

Callers 2

saveConfigurationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected