Created
June 26, 2025 07:09
-
-
Save Ocyss/006665b6dbf59cc62d7a7f1b0edfb378 to your computer and use it in GitHub Desktop.
扩展storage手动同步.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| await (async()=>{ | |
| const l=await chrome.storage.local.get(),s=await chrome.storage.sync.get(); | |
| return `await chrome.storage.local.set(${JSON.stringify(l)});await chrome.storage.sync.set(${JSON.stringify(s)});` | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment