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
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
newTabPageOverride |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on 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.
Examples
Get the current value of the new tab URL:
js
browser.browserSettings.newTabPageOverride.get({}).then((result) => {
console.log(result.value);
});