Newtab Browser Flags

Replaces your new tab page with a launcher that opens the extension's sidebar panel.

Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: sidebar, new tab, content script, background service worker · Styling: CSS

Create this project

npx extension@latest create my-new-browser-flags --template new-browser-flags
cd my-new-browser-flags
npm install
npm run dev

Files in this template

  • extension.config.js
  • src/background.js
  • src/content/content.js
  • src/images/icon.png
  • src/manifest.json
  • src/newtab/index.html
  • src/newtab/newtab.css
  • src/newtab/newtab.js
  • src/sidebar/index.html
  • src/sidebar/sidebar.css

extension.devDocumentation for extension.dev