---
title: optionalPermissionMatchPatterns
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/optionalpermissionmatchpatterns
---

# optionalPermissionMatchPatterns

The set of websites that the extension may need access to for optional functionality.

## Declaration

```swift
var optionalPermissionMatchPatterns: Set<WKWebExtension.MatchPattern> { get }
```

## Discussion

Discussion These match patterns can be requested by the extension at a later time.
