Reputation:
Is it possible to intercept all requests made by a WebBrowser
control?
I want to modify the request URI of every single request (including requests for images, scripts, stylesheets, etc.)
Upvotes: 8
Views: 12567
Reputation: 34573
There is an event called "BeforeNavigate2" that is called before any request is made. You can use this to modify the outgoing requests.
Upvotes: 1