Skip to content

MethodGrab/firefox-custom-new-tab-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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