https://www.telerik.com/forums/how-to-automatically-re-enable-fiddle-as-system-proxyhtml
https://www.cnblogs.com/TankXiao/archive/2012/02/06/2337728.htmlfrontend
問題:【The system proxy was changed.Click to reenable capturing.】ide
解決:Reattaching Fiddler automatically is perilous for a bunch of reasons, but yes, it's technically possible to observe changes in the proxy setting for the current user and reattach if they change.spa
In CustomRules, add the following code:code
static function DoReattach(o: Object, ea: EventArgs)
{
ScheduledTasks.ScheduleWork("reattach", 1000, innerReattach);
}
static function innerReattach()
{
FiddlerApplication.UI.actAttachProxy();
}
static function OnRetire()
{
FiddlerApplication.oProxy.remove_DetachedUnexpectedly(DoReattach);
}htm
and inside the existing Main() function, add:
FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);blog