Filtering fiddler to only capture requests for a certain domain

前端 未结 5 1163
日久生厌
日久生厌 2021-01-30 00:56

I\'m not sure how to modify the CustomRules.js file to only show requests for a certain domain.

Does anyone know how to accomplish this?

5条回答
  •  [愿得一人]
    2021-01-30 01:00

    My answer is somewhat similar to @Marc Gravels, however I prefer to filter it by url containing some specific string.

    1. You will need fiddler script - it's an add-on to fiddler.
    2. When installed go to fiddler script tag and paste following into OnBeforeRequest function. (Screenshot below)

       if (oSession.url.Contains("ruby:8080") || oSession.url.Contains("localhost:53929")) {  oSession["ui-hide"] = "yup";    }
      

    enter image description here

    This way you can filter by any part of url be it port hostname or whatever.

    Hope this saves you some time.

提交回复
热议问题