Last active
May 9, 2025 21:02
-
-
Save ericlaw1979/a39f743cc05daa6b77184057c01f7b6d to your computer and use it in GitHub Desktop.
SingleBrowserMode button for Fiddler.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rules > Customize Rules, place this just inside the HANDLERS class... | |
// Add a button to Fiddler's UI for "Single Browser Mode", where only one browser window will | |
// send its traffic to Fiddler. | |
public static BindUIButton("SingleBrowserMode \uD83D\uDC40") | |
function LaunchSingleInstance() { | |
// Tell the system we're not the proxy anymore | |
FiddlerApplication.UI.actDetachProxy(); | |
// Launch a single browser instance pointed directly at Fiddler. | |
System.Diagnostics.Process.Start('msedge.exe', | |
'--user-data-dir="%temp%\\throwaway" --no-first-run --proxy-server=127.0.0.1:' + CONFIG.ListenPort.ToString() + " about:blank"); | |
} |
Author
ericlaw1979
commented
May 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment