Geeks With Blogs
James Norman
Never used FiddlerScript, nor had any real use for it today.  But now I see some nice possibilities.

I just finished installing Win 10 and all my software, when I saw this "feature" occur once I turned Fiddler on.
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CDIQFjAC&url=http%3A%2F%2Fproductforums.google.com%2Fd%2Ftopic%2Fchrome%2Fhl0Knv7p4-4&ei=a5skVcCgDoKyoQT4jYCQDg&usg=AFQjCNEySvC2R0dLCdQRd2FFSii7CXlImg

So, the fix is basically this:

...if you use Fiddler, here's a snippet to add to your OnBeforeRequest method to terminate and hide these requests.

if (oSession.oRequest.headers.HTTPMethod == "HEAD" && !oSession.oRequest.host.Contains("."))
{
    oSession.oRequest.headers.Add ("X-Chrome-Issue-47262", "true");
    oSession.oRequest.FailSession(502,"Chrome Issue 47262","is annoying");
    oSession["ui-hide"] = "true";

So after downloading FiddlerScript Editor http://www.telerik.com/download/fiddler/fiddlerscript-editor  I put in that code.

This partially worked, getting rid of the random requests, but not the calls to Google that followed.  Since I determined no real harm was being done to me, I then added this:

if (oSession.oRequest.host == "www.google.com")
   {
     oSession["ui-hide"] = "true";
   }
           
I thought, "Wow, this is really powerful."  So then I gave this a try and then went to Amazon:

if (oSession.oRequest.host.Contains("amazon.com"))
   {
     oSession["ui-bold"] = "true";
     oSession["ui-backcolor"] = "red";
     oSession["ui-color"] = "black";
   }
Posted on Tuesday, April 7, 2015 11:14 PM Fiddler , FiddlerScript | Back to top


Comments on this post: First bit of FiddlerScript

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © James Norman | Powered by: GeeksWithBlogs.net