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
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Chrome | Edge | Firefox | Firefox for Android | Opera | |
---|---|---|---|---|---|
Basic support | No | No | 57 | 57 | No |
Examples
Get the current value of the new tab URL:
browser.browserSettings.newTabPageOverride.get({}).then(result => { console.log(result.value); });