Search code examples
firefoxfirefox-addonfirefox-addon-sdk

How to develop a new tab page replacement addon in Firefox?


I want to develop a new tab page replacement addon for Firefox, such as New Tab Plus, New Tab King, etc. If you can provide a tutorial, an example walk-through, or what's needed, that'd be great.

There is surprisingly little to none info on this on the Web.

Thanks!


Solution

  • All that needs to be done are two things:

    1. Make an add-on / website with a page which can be used as the new tab page.
    2. change the value of the browser.newtab.url preference (and make sure it is restored on unload)