<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebExtensionContext/overrideNewTabPageURL",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebExtensionContext(py)overrideNewTabPageURL"
  },
  "title" : "overrideNewTabPageURL"
}
-->

# overrideNewTabPageURL

The URL to use as an alternative to the default new tab page, if the extension has one.

```
var overrideNewTabPageURL: URL? { get }
```

## Discussion

Provides the URL for a new tab page, if provided by the extension; otherwise `nil` if no page is defined.

The app should prompt the user for permission to use the extension’s new tab page as the default.

> Note: Navigation to the override new tab page is only possible after this extension has been loaded.

## See Also

[`webViewConfiguration`](/documentation/WebKit/WKWebExtensionContext/webViewConfiguration)

The web view configuration to use for web views that load pages from this extension.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)