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

BCD tables only load in the browser

Examples

Get the current value of the new tab URL:

js

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