---
title: hasOverrideNewTabPage
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/hasoverridenewtabpage
---

# hasOverrideNewTabPage

A Boolean value indicating whether the extension provides an alternative to the default new tab page.

## Declaration

```swift
var hasOverrideNewTabPage: Bool { get }
```

## Discussion

Discussion If this property is YES, the extension can specify a custom page that can be displayed when a new tab is opened in the app, instead of the default new tab page. The app should prompt the user for permission to use the extension’s new tab page as the default, which can be accessed via overrideNewTabPageURL on an extension context.
