Add-ons

browserSettings.newTabPageOverride

A BrowserSetting object that can be used to get a string representing the URL for the "new tab" page: that is, the page that's loaded when the user opens a new empty tab.

Note that this is a read-only setting.

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic support No No5757 No

Examples

Get the current value of the new tab URL:

browser.browserSettings.newTabPageOverride.get({}).then(result => {
  console.log(result.value);
});

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,