Can't set newtab as startup page

I am developing an extension that replaces the Firefox newtab page entirely. I’ve achieved this by adding this override to the manifest:

"chrome_url_overrides": {
  "newtab": "tab.html"
}

This works fine when I click + or Cmd+T to open a new tab, however, it doesn’t when I start the browser. The old newtab is always opened, even if I type about:newtab in the address bar.

How can I achieve this?

You’d want to override the homepage using https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides

1 Like

When I add that to the manifest, then I can’t install the extension.

"chrome_url_overrides": {
  "newtab": "globaltab.html",
  "homepage": "globaltab.html"
}

It says the extension is corrupted. Know why?

Also, when adding the directory as “Temporary Add-on” in the addon debugging page I get: There was an error during installation: Extension is invalid. It’s fixed the moment I remove homepage from chrome_url_overrides.

Edit: Nevermind… It’s chrome_settings_overrides and not chrome_url_overrides.

1 Like