сброс настроек.JS в может стать использование программы Fiddler2



Глупый вопрос, но гуглить это не дало никаких результатов вообще.



Как сбросить файл правил клиента в Fiddler 2? Я возился с ним из любопытства / экспериментирования, но теперь я хочу восстановить правила на нем.

503   1  

1 ответ:

Таможенные Правила.файл js начинается так:

// INTRODUCTION
// This is the FiddlerScript Rules file, which creates some of the menu commands and
// other features of Fiddler. You can edit this file to modify or add new commands.
//
// The original version of this file is named SampleRules.js and it is in the
// \Program Files\Fiddler\ folder. When Fiddler first starts, it creates a copy named
// CustomRules.js inside your \Documents\Fiddler2\Scripts folder. 
//

...И тогда он отмечает:

// If you make a mistake in editing this file, simply delete the CustomRules.js file
// and restart Fiddler. A fresh copy of the default rules will be created from the
// original sample rules file.

кстати, если вы загуглите для reset customrules.js, эти инструкции можно найти в результате #3, который указывает на официальную документацию по Fiddler2.com.

И вы можете добавить пункт меню Сервис, чтобы сбросить сценарий, а также. Добавьте их в customrules.JS.

// Force a manual reload of the script file. Resets all
// RulesOption variables to their defaults.
public static ToolsAction("Reset Script")
function DoManualReload(){
    FiddlerObject.ReloadScript();
}

Примеры сценариев можно найтиздесь .

Comments

    Ничего не найдено.