Skip to content

Chrome extension - Operate Local Storage, Session Storage and Cookie.

License

Notifications You must be signed in to change notification settings

FireBushtree/cache-bearer

Repository files navigation

cache-bearer logo

cache-bearer

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.

definition

In this project, cache means [Local Storage, Session Storage, Cookie]

install

  1. download zip file

  2. 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
  1. open Chrome and type url chrome://extensions, click button Load the unzipped extension,

feature

  • copy current website's cache
  • paste cache
  • clear current website's cache

todos

  • add action tip, such as copy cookie success!, paste cookie success ...
  • update popup UI
  • implement Cookie copy & paste & clear
  • implement Local Storage copy & paste & clear
  • implement Session Storage copy & paste & clear
  • refine util/chrome code

License

MIT

Copyright (c) 2023-present, Qian (Owen) Huang