url(for:)
Called when the URL of the tab is needed.
Declaration
optional func url(for context: WKWebExtensionContext) -> URL?Parameters
- context:
The context in which the web extension is running.
Discussion
Defaults to URL of the tab’s web view if not implemented.