How to change google logo size with fiddler

1 Answer 162 Views
Fiddler Classic Windows
Jevgenijs
Top achievements
Rank 1
Jevgenijs asked on 18 Sep 2023, 10:22 AM
How to change google logo size with fiddler

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 18 Sep 2023, 12:10 PM

Hey Jevgenijs,

 

You can use FiddlerScript to search and replace a portion of the HTML received in the HTTP Response from https://www.google.com

A basic example of using FIddlerScript to substitute HTML tags.

    if (oSession.HostnameIs("www.example.com") && oSession.oResponse.headers.ExistsAndContains("Content-Type","text/html")){
      oSession.utilDecodeResponse();
      oSession.utilReplaceInResponse('<b>','<u>');
    }

Using the above methods, you can find the tag responsible for the logo creation (probably a <img> tag) and replace it with your own version pointing to another photo.

 

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Fiddler Classic Windows
Asked by
Jevgenijs
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or