Every extension has the following files:
- A manifest file (manifest.json)
- One or more HTML files (unless the extension is a theme)
- Optional: One or more JavaScript files
- Optional: Any other files your extension needs—for example, image files
Required manifest entries
"manifest_version": 2,
"name": "My Extension",
"version": "versionString"
To replace the default Chrome Tab with the Momentum Health tab page
"chrome_url_overrides": {
"newtab": "index.html"
}
- Visit chrome://extensions in your browser (or open up the Chrome menu by clicking the icon to the far right of the Omnibox, and select Extensions under the More tools menu to get to the same place).
- Ensure that the Developer mode checkbox in the top right-hand corner is checked.
- Click Load unpacked extension, to pop up a file-selection dialog.
- Navigate to the directory in which your extension files live, and select it.
- Alternatively, you can drag and drop the directory where your extension files live onto chrome://extensions in your browser to load it.