A Windows system tray application that intelligently controls your default web browser, inspired by DefaultBrowser for macOS.
- Smart Browser Selection: Set as your default browser and choose which browser to actually open links with
- System Tray Integration: Quick browser switching from the system tray
- Automatic Browser Detection: Automatically detects installed browsers
- Persistent Settings: Remembers your preferred browser across sessions
- Windows Integration: Properly registers as a browser in Windows settings
- Startup Support: Option to start with Windows
- Notifications: Optional notifications when switching browsers
- Windows 7 or later
- .NET 8.0 Runtime
- Clone this repository
- Make sure you have .NET 8.0 SDK installed
- Build the project:
dotnet build --configuration Release - Run the executable from
bin/Release/net8.0-windows/
- Run the application
- Right-click the system tray icon
- Click "Register as Default Browser" (requires administrator privileges)
- Go to Windows Settings > Apps > Default apps
- Select "Default Browser Windows" as your default web browser
- Start the application - it will appear in your system tray
- Right-click the tray icon to see available browsers
- Select your preferred browser from the menu
- All links will now open with your selected browser
- Start with Windows: Automatically start when Windows boots
- Show Notifications: Display notifications when switching browsers
- Use Most Recent Browser: Always use the last selected browser
The application registers itself as a web browser in Windows, intercepting URL requests. When a link is clicked:
- The application receives the URL
- It launches the URL with your currently selected browser
- Your selected browser opens the link
This allows you to:
- Keep your "default browser" setting stable in Windows
- Quickly switch between browsers without changing Windows settings
- Use different browsers for different purposes
The application automatically detects:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Opera
- Brave Browser
- Vivaldi
- Any other browser registered in Windows
# Register as default browser (requires admin)
DefaultBrowserWindows.exe --register
# Open a URL with selected browser
DefaultBrowserWindows.exe "https://example.com"
# Open an HTML file with selected browser
DefaultBrowserWindows.exe "file.html"- Windows 7 SP1 or later
- .NET 8.0 Runtime
- Administrator privileges (only for initial registration)
- No data is collected or transmitted
- All settings are stored locally
- No network connections except for opening URLs in browsers
This project is open source. See LICENSE file for details.
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
Inspired by DefaultBrowser for macOS by Cameron Little.