MethodGrab / firefox-custom-new-tab-page

A Firefox extension that allows you to specify a custom new-tab URL
https://addons.mozilla.org/firefox/addon/custom-new-tab-page
ISC License
76 stars 18 forks source link
firefox-extension

Custom New Tab Page

GitHub Workflow Status Version Rating Users Downloads

A Firefox extension that allows you to specify a custom URL to be shown when opening a new tab, without changing the address bar content.

Usage

To set your custom new tab url:

  1. Open Add-ons from the Menu (☰) (or navigate to about:addons with the address bar)
  2. Select Extensions
  3. Select the Custom New Tab Page extension → Options
  4. Enter your URL in the New Tab URL box
  5. Press Save
  6. Done!

Development

Testing unsigned extensions only works with non-release builds of Firefox, to develop the extension:

  1. Install a non-release build (e.g. Firefox Developer Edition)
  2. npm install
  3. npm run start to load Firefox Developer Edition with the extension installed. Making changes to the code will automatically reload the extension.

Release Process

To publish a new version:

  1. npm run validate
  2. Bump the version in src/manifest.json
  3. Commit with the version number as the commit message (e.g. :bookmark: 1.0.0) and tag the commit with the version number (e.g. v1.0.0)
  4. npm run package to bundle the extension as a zip file
  5. Upload the generated zip to https://addons.mozilla.org/en-US/developers/addons