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

Function setStorageData

Script/FastDork.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 function removeStorageData(keys) {
131 return new Promise((resolve, reject) => {
132 chrome.storage.local.remove(keys, () => {

Callers 7

createDorkListFunction · 0.70
saveDorkListContentFunction · 0.70
saveCurrentOptionsFunction · 0.70
handleDeleteSiteSelectorFunction · 0.70
saveImportListPreferenceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected