https://github.com/runnin-n-gunnin/geckofxinterceptrequestcaptureresponse
[GeckoFX/Firefox]: Shows how to Intercept request(s), capture response(s), customize GeckoPreferences, handle certificate errors, change useragent++.
https://github.com/runnin-n-gunnin/geckofxinterceptrequestcaptureresponse
browser cefsharp controls crawler crawling firefox gecko geckofx geckofx60 scraping webbrowser windows windowsforms winforms
Last synced: 4 months ago
JSON representation
[GeckoFX/Firefox]: Shows how to Intercept request(s), capture response(s), customize GeckoPreferences, handle certificate errors, change useragent++.
- Host: GitHub
- URL: https://github.com/runnin-n-gunnin/geckofxinterceptrequestcaptureresponse
- Owner: Runnin-N-Gunnin
- Created: 2022-07-26T01:21:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T01:28:19.000Z (almost 4 years ago)
- Last Synced: 2025-03-21T16:26:38.003Z (about 1 year ago)
- Topics: browser, cefsharp, controls, crawler, crawling, firefox, gecko, geckofx, geckofx60, scraping, webbrowser, windows, windowsforms, winforms
- Language: C#
- Homepage:
- Size: 131 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [GeckoFX] Intercept & Capture
Shows how to Intercept request(s), capture response(s), customize GeckoPreferences, handle certificate errors, change useragent++.
GeckoFX is a Firefox browser control which you can use in a Windows Forms and WPF project.
# Example:

# Instructions:
Installing Geckofx/GeckoWebBrowser in your project
1. Install nuget-package: Geckofx60.64
2. Set solution platform to "AnyCPU" and uncheck "Prefer 32-bit" in the project properties (Properties -> Build).
3. Build Project, a Firefox64 folder should appear in the debug folder
4. Reference the directory path: Xpcom.Initialize(Environment.CurrentDirectory + "\\Firefox64");
Request Interception happens in MainForm.cs -> GeckoOnObserveHttpModifyRequest event.
Response capture happens in HttpObserver.cs -> Observe
Please see the example project. Submit issue if you need help.
# Requirements
- Visual Studio 2017+
- .NET Framework 4+
- Geckofx60.64 (NuGet Package)
# Credits:
To "hindlemail" for his NuGet package Geckofx60.64 (https://hg.sr.ht/~hindlemail/geckofx)