Chrome extension test

  1. Create the manifest
{
  "name": "Getting Started Example",
  "description": "Build an Extension!",
  "version": "1.0",
  "manifest_version": 3
}
  1. Register the background script in the manifest
  ...
  "background": {
    "service_worker": "background.js"
  }
  1. Creaet the backgound script

  2. Add the storage permission

  3. Inspect the background script

  4. Make user interface