Google Chrome Extensions

Override Pages

Override pages are a way to substitute an HTML file from your extension for a page that Google Chrome normally provides. In addition to HTML, an override page usually has CSS and JavaScript code.

An extension can replace any one of the following pages:

Note: A single extension can override only one page. For example, an extension can't override both the Bookmark Manager and History pages.

Incognito windows are treated specially. New Tab pages cannot be overridden in incognito windows. Other override pages work in incognito windows as long as the incognito manifest property is set to "spanning" (which is the default value). See Saving data and incognito mode in the Overview for more details on how you should treat incognito windows.

The following screenshots show the default New Tab page next to a custom New Tab page.

The default New Tab page An alternative New Tab page
default New Tab page a blank New Tab page

Manifest

Register an override page in the extension manifest like this:

{
  "name": "My extension",
  ...

  "chrome_url_overrides" : {
    "pageToOverride": "myPage.html"
  },
  ...
}

For pageToOverride, substitute one of the following:

Tips

For an effective override page, follow these guidelines:

Examples

See the override samples.