With older safari extension, we had global javascript to handle beforeNavigate event but with new safari app extension concept is there any way to capture the same event in the app code ?
i tried overiding beginRequest
but not sure how to capture the url information here
override func beginRequest(with context: NSExtensionContext) {
//TODO:
}