A Windows desktop application that allows you to select which browser to open web links with. When set as the default browser, it presents a dialog with a list of installed browsers and their profiles, allowing you to choose how to open each link.
- Dynamic Browser Detection: Automatically detects installed browsers (Chrome, Firefox, Edge, Opera, Brave, Vivaldi, and others)
- Profile Support: Supports browser profiles for Chrome-based browsers and Firefox
- Smart Caching: Caches browser list for quick access (refreshes daily or manually)
- Auto-Selection: Automatically selects the last used browser after a configurable timeout (default: 3 seconds)
- User Interaction Detection: Stops auto-selection when user interacts with the dialog
- Persistent Settings: Remembers your last selection for quick access
-
Build the Application:
dotnet publish -c Release -r win-x64 --self-contained
-
Copy to Program Files (as Administrator):
Copy-Item -Recurse "bin\Release\net8.0-windows\win-x64\publish\*" "C:\Program Files\OpenWithTool\"
-
Register as Browser (as Administrator):
# Using PowerShell script .\Resources\install-browser.ps1 # Or using registry file # Right-click Resources\register-browser.reg and select "Merge"
-
Set as Default Browser:
- Open Windows Settings
- Go to Apps > Default apps
- Click on "Web browser"
- Select "OpenWith Tool - Browser Selector"
Once installed and set as the default browser:
- Click any web link
- The OpenWith Tool dialog appears
- Select your preferred browser and profile
- The link opens in the selected browser
- Your choice is remembered for next time
- The tool will automatically select your last choice after 3 seconds (configurable)
- Move the mouse or press any key to stop the auto-selection timer
- Use the Settings button to configure the timeout duration
- Refresh: Reload the browser list
- Settings: Configure preferences (timeout, etc.)
- Cancel: Close without opening the link
- Launch: Open the link in the selected browser
Settings are stored in: %APPDATA%\OpenWithTool\settings.json
Available settings:
AutoSelectTimeoutSeconds: Auto-selection timeout (default: 3)CacheDurationHours: Browser cache duration (default: 24)EnableAutoSelect: Enable/disable auto-selection (default: true)LastSelectedBrowser: Last selected browser nameLastSelectedProfile: Last selected profile name
-
Change Default Browser (optional):
- Set another browser as default in Windows Settings
-
Unregister from System (as Administrator):
# Using PowerShell script .\Resources\install-browser.ps1 -Uninstall # Or using registry file # Right-click Resources\unregister-browser.reg and select "Merge"
-
Remove Files:
Remove-Item -Recurse "C:\Program Files\OpenWithTool" Remove-Item -Recurse "$env:APPDATA\OpenWithTool"
The tool automatically detects:
- Google Chrome (with profiles)
- Mozilla Firefox (with profiles)
- Microsoft Edge (with profiles)
- Opera
- Brave Browser (with profiles)
- Vivaldi (with profiles)
- Any other browser registered in Windows
- .NET 8.0 or later
- Windows 10/11
git clone <repository-url>
cd openwith-tool
dotnet restore
dotnet builddotnet run -- "https://www.example.com"[Add your license here]
[Add contribution guidelines here]