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

Function getStorageData

Script/siteconfig.js:109–118  ·  view source on GitHub ↗
(keys)

Source from the content-addressed store, hash-verified

107 }
108
109 function getStorageData(keys) {
110 return new Promise((resolve, reject) => {
111 chrome.storage.local.get(keys, (result) => {
112 if (chrome.runtime.lastError) {
113 return reject(chrome.runtime.lastError);
114 }
115 resolve(result);
116 });
117 });
118 }
119
120 function setStorageData(items) {
121 return new Promise((resolve, reject) => {

Callers 3

loadConfigForEditingFunction · 0.70
saveConfigurationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected