Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T01:28:19.000Z (over 2 years ago)
- Last Synced: 2024-10-14T23:22:18.597Z (3 months 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:
![Alt text](/capture.png?raw=true "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)