-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web Event Callbacks? #43
Comments
Can't it be done by trapping the event within JS, then signalling the backend |
That's an interesting option... I didn't think of injecting JS into the web page I was loading to try to detect it that way.. I have no control over the content that's loaded within the page.. and I'd have to re-inject the JS every time the user navigated until I detected what I needed. |
That's right. And the There are indeed native callbacks for navigation-requests on each platform. It |
So I noticed the callback function in the webview struct, but I don't think that's what I'm looking for. Namely, I would like to know if there's a way to intercept web events such as page redirects / navigation. A concrete example would be intercepting the redirect of an OAuth 2 application so that you can extract the state information the server returns.
The text was updated successfully, but these errors were encountered: