MCPcopy Index your code
hub / github.com/NobyDa/Script / move

Function move

JD-DailyBonus/JD_DailyBonus.js:1632–1637  ·  view source on GitHub ↗
(ck, del)

Source from the content-addressed store, hash-verified

1630function CookieMove(oldCk1, oldCk2, oldKey1, oldKey2, newKey) {
1631 let update;
1632 const move = (ck, del) => {
1633 console.log(`京东${del}开始迁移!`);
1634 update = CookieUpdate(null, ck).total;
1635 update = $nobyda.write(JSON.stringify(update, null, 2), newKey);
1636 update = $nobyda.write("", del);
1637 }
1638 if (oldCk1) {
1639 const write = move(oldCk1, oldKey1);
1640 }

Callers 1

CookieMoveFunction · 0.85

Calls 4

CookieUpdateFunction · 0.85
logMethod · 0.45
writeMethod · 0.45
stringifyMethod · 0.45

Tested by

no test coverage detected