---
title: "allow(_:completionHandler:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/bewebcontentfilter/allow(_:completionhandler:)"
---

# allow(_:completionHandler:)

Adds a previously blocked URL to the web content filter’s allow list.

## Declaration

```swift
func allow(_ url: URL, completionHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)
```

```swift
func allow(_ url: URL) async throws -> Bool
```

## Parameters

- `url`: The URL to unblock.
- `completionHandler`: A closure that the system invokes when the add operation finishes. The closure returns true on success; false, otherwise.
