Search code examples
google-chrome-extensionchrome-extension-manifest-v3

Install under-development extension over web-store version


I would like to test/debug storage migration of an extension. When installing via "Load unpacked" a new ID is generated and the extension is installed as a separate extension.

How can it be installed as an upgrade of the previously installed extension?


Solution

  • You need to copy published esxtension's key:

    1. Copy your extension url.

    2. Paste into crx-viewer and click on open in viewer

    3. Open console and copy public key

    4. Add this line in your manifest.json

      { "key":"you_copied_key" }