New Tab 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 · Level: beginner

Create this project

npx extension@latest create my-newtab-typescript --template newtab-typescript
cd my-newtab-typescript
npm install
npm run dev

What it is for

  • A typed new tab page
  • TypeScript compiled by Extension.js with no extra config
  • Starting point for TypeScript extensions with a new tab

First steps

  • Run npm run dev to launch the extension
  • Open a new tab to see the page this template ships
  • Edit src/newtab/scripts.ts and save to watch the tab update

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev