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

Function updatePayloadUpdatedAt

Script/FastDork.js:178–193  ·  view source on GitHub ↗
(listKey = UI.listTab2?.value)

Source from the content-addressed store, hash-verified

176 }
177
178 async function updatePayloadUpdatedAt(listKey = UI.listTab2?.value) {
179 if (!UI.payloadUpdatedAt) return;
180 const updatedAtKey = getListUpdatedAtStorageKey(listKey);
181 if (!updatedAtKey) {
182 setPayloadUpdatedAtText("");
183 return;
184 }
185
186 try {
187 const data = await getStorageData(updatedAtKey);
188 setPayloadUpdatedAtText(formatListUpdatedAt(data[updatedAtKey]));
189 } catch (error) {
190 console.warn("Could not load list updated timestamp:", error);
191 setPayloadUpdatedAtText("");
192 }
193 }
194
195 function getEngineSortPriority(engineKey) {
196 const normalizedKey = String(engineKey || "").toLowerCase();

Callers 3

deleteDorkListFunction · 0.85
setupEventListenersFunction · 0.85

Calls 4

setPayloadUpdatedAtTextFunction · 0.85
formatListUpdatedAtFunction · 0.85
getStorageDataFunction · 0.70

Tested by

no test coverage detected