<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/Configuration/defaultNavigationPreferences",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC13ConfigurationV28defaultNavigationPreferencesAC0fG0Vvp"
  },
  "title" : "defaultNavigationPreferences"
}
-->

# defaultNavigationPreferences

The default preferences to use when loading and rendering content.

```
@MainActor var defaultNavigationPreferences: WebPage.NavigationPreferences
```

## Discussion

Use this property to specify the JavaScript settings and content mode for new navigations.
When the webpage navigates to a new resource, it passes the default preferences to its
navigation decider, which can modify the preferences if desired.

---

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)