Skip to content

Instantly share code, notes, and snippets.

@abdmun8
Created May 9, 2022 23:50
Show Gist options
  • Save abdmun8/8dfb40ce52bc8c39fa3f7ea11b20ba66 to your computer and use it in GitHub Desktop.
Save abdmun8/8dfb40ce52bc8c39fa3f7ea11b20ba66 to your computer and use it in GitHub Desktop.
Copy Local Storage

Run this script on console source window

const t=JSON.stringify(localStorage);console.log(`Object.entries(${t}).forEach(e=>{localStorage.setItem(e[0],e[1]);});`);

Paste and run output script to console target window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment