Environment Variables
Replaces your new tab page with a page showing the extension's environment values.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner
Create this project
npx extension@latest create my-new-env --template new-env
cd my-new-env
npm install
npm run dev
Files in this template
- extension.config.js
- src/background.js
- src/images/icon.png
- src/manifest.json
- src/newtab/index.html
- src/newtab/scripts.ts
- src/newtab/styles.css
Source on GitHubDocumentation
extension.devDocumentation for extension.dev