MDN self-hosted library · e01.org

browserSettings.homepageOverride

A BrowserSetting object that can be used to get a string representing the URL currently set as the browser's homepage.

Open notebook · 1 cells webextension-api-property upstream source

A BrowserSetting object that can be used to get a string representing the URL currently set as the browser's homepage.

Note that this is a read-only setting. To change the homepage, see chrome_settings_overrides.

Examples

Get the current value of the homepage URL:

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

Browser compatibility