Newtab TypeScript

Replaces your new tab page with a simple page.

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

Create this project

npx extension@latest create my-new-typescript --template new-typescript
cd my-new-typescript
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

extension.devDocumentation for extension.dev