Thanks for FiddlerCore and the quick responses to questions on this forum.
I'm trying to intercept a webpage response, change some html, and have it display my change in the browser:
private void FiddlerApplication_BeforeResponse(Session oSession)
{
oSession.bBufferResponse = true;
oSession.utilDecodeResponse();
oSession.utilReplaceInResponse("TEXT-TO-REPLACE", "NEW-TEXT");
}
I should note that I'm using Windows 10, which I'm not sure if it makes any difference. I know that the oSession's ResponseBody text is updated when I use this code, however it seems like it doesn't get passed on to the browser from this point. Am I missing something? I've even tried utilSetResponseBody(updatedBodyText), however this doesn't seem to update the returned page either. Any thoughts or help would be greatly appreciated.