Sometimes we save information at cache [Local Storage, Session Storage, Cookie], when develop locally and need the cache info from other environment , we must copy information's key-value one by one, use cache-bearer, we can easily copy cache at target environment, and paste them at local.
In this project, cache means [Local Storage, Session Storage, Cookie]
-
download zip file
-
install by source (follow the next steps)
- use node version >= 17
- clone this repo
git clone [email protected]:FireBushtree/cache-bearer.git - install dependence
yarn - use
yarn run build& get dist folder
- open Chrome and type url
chrome://extensions, click button Load the unzipped extension,
- copy current website's cache
- paste cache
- clear current website's cache
- add action tip, such as
copy cookie success!,paste cookie success... - update popup UI
- implement
Cookiecopy&paste&clear - implement
Local Storagecopy&paste&clear - implement
Session Storagecopy&paste&clear - refine util/chrome code
Copyright (c) 2023-present, Qian (Owen) Huang