With C# I want to replace text in a site with fiddler. I looked through all the sources but couldn't find anything.
Example: "Not changed try again." At http://metin2bot.net/fiddler/test.php I want to change the text to "Changed successfully".
So when I enter the site, I want it to receive the response I have determined.
Is it possible to do this with C#?
Please help. I love you fiddler. Thx
5 Answers, 1 is accepted
Hello Dream Fancy,
The Fiddler provides an option to programmatically modify requests and responses via FiddlerScript. Refer to this documentation article on how to use FiddlerScript to add rules in session events.
Regards,
Nick Iliev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Sir, thank you very much for your explanation.
I reviewed the resource you provided. He's working on the Fiddler program. However, I want to import this into software using the ElmahFiddler library. Is this possible? I am coding a software in C # Visual Studio using the ElmahFiddler library. So is it possible to change the request or response using c # language?
Hi there,
Yes, you could use the FiddlerCore NET library to utilize many of the FIddler functionalities through code (C#).
Regards,
Nick Iliev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Thank you so much. I had the opportunity to review the FiddlerCore demo version and I think I will buy it. But I have a question. Tutorial & Docs looks pretty complicated. I could not find the source code for how to change the response value at a sample address.
I just need a small sample. I'll code the rest. Is it possible to see a sample c# code that changes the response value of a url address as I mentioned in the topic? Thanks.
Hello Dream,
The FIddlerCore library basically uses FiddlerScript so you could use the official documentation to get multiple examples and basic samples. For example, refer to this documentation page on how to modify a response while using the onBeforeResponse event.
Regards,
Nick Iliev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.