Welcome Getting started API Reference Samples
Welcome Getting started API Reference Samples

Manifest - Key

Published on Updated on

This value can be used to control the unique ID of an extension, app, or theme when it is loaded during development.

Note: You don't usually need to use this value. Instead, write your code so that the key value doesn't matter by using relative paths and extension.getURL.

To get a suitable key value, first install your extension from a .crx file (you may need to upload your extension or package it manually). Then, in your user data directory, look in the file Default/Extensions/_<extensionId>_/_<versionString>_/manifest.json. You will see the key value filled in there.

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.