The Developer Space

All things Developer

  • Cloud
  • Database
  • Open Source
  • Programming
  • Web Dev
  • Mobile
  • Security
  • QuickRef
  • Home
  • Open Source
  • Browser Selector – A simple windows app to associate different urls to different browsers

Browser Selector – A simple windows app to associate different urls to different browsers

Shameel Ahmed - CodeProject, Open Source, Tools
September 8, 2017September 21, 2019 2 Comments
Browser Selector Main Window
1 0
Read Time2 Minute, 47 Second

Introduction

This article introduces you to BrowserSelector, an open source app that acts like a bootstrap to associate urls to different browsers installed on your machine,

As developers and technology buffs, we’ve always felt the need to automatically open different urls with our favorite browsers. The problem is we had to open the right browser to navigate to that url. When clicking links in email clients, it opens the link in the default browser when we intend to open it with a particular browser because that is what it works with best.

How it works?

Browser Selector is a WinForms app written in C# that registers itself as a browser. Here is what happens:

  1. User clicks url in an email client or opens the url in the Run dialog (www.google.com)
  2. Windows intercepts the url and opens the url in the default browser (Browser Selector)

Browser Selector runs the url through all the rules and opens the link in the browser associated with the first matching rule. If no matching rule exists, the url is opened in the fallback browser.

How Browser Selector Works

The GUI

Browser Selector Main Window

Supported Platforms

  • Windows  8/8.1
  • Windows 10

Steps to install

No installation is required. Just XCopy the binary files to any folder and run the .exe. In the UI, click Tools –> Register Browser. Browser Selector registers itself as a browser and opens the Default Apps settings page where you can set Browser Selector as the default browser.

Register Browser Menu
Windows Default Apps

That’s it, you’re done.

Define Rules

  1. Select a Match type, enter the Url in the text box and select a Browser and click the ‘+ ‘ button to add the rule.
  2. Select a rule in the list and click the ‘X’ button to delete the rule.
  3. Use the Up and Down buttons to move the rule up or down respectively. Rules are evaluated in the displayed order.
  4. Select a Fallback Browser to be used when the url does not match any rule.
  5. Turning on the ‘Use this Browser for all Urls’ check box bypasses all rules and uses the selected Browser to all urls until it is turned off.
  6. Changes to settings and rules are saved only when the app is closed. Make sure you close the app before trying out the changes.

Put it to test

Open Start –> Run, enter the url and click OK.

Windows Run

Try out with different urls that match your rules.

Download

Get source from Github

BrowserSelector_bin.zipDownload

More Tools

DbStudio (beta) Launched

Share

Facebook
Twitter
LinkedIn
Email

Post navigation

Granting write access to ASP.NET apps hosted on AWS Beanstalk
DbStudio (beta) Launched

Related Articles

Migrating your SQL Server Workloads to PostgreSQL

Book: Migrating your SQL Server Workloads to PostgreSQL

Shameel Ahmed
May 5, 2020May 26, 2020 No Comments

Minimize Non-Critical Database Workload costs in AWS

Shameel Ahmed
April 23, 2020April 24, 2020 4 Comments
.NET Core Logo

New Features and Enhancements in .NET Core 3.0

Shameel Ahmed
September 25, 2019October 8, 2019 1 Comment

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%
(Add your review)

2 thoughts on “Browser Selector – A simple windows app to associate different urls to different browsers”

  1. EmpulS says:
    February 10, 2020 at 7:09 am

    Is there a pattern to the URLs? Or do you mean choosing freely which browser should open a link? iglvzx Feb 1 ’12 at 5:56

    Reply
    1. Shameel Ahmed says:
      May 1, 2020 at 10:50 am

      This application opens different urls in different browsers based on static/dynamic rules.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

.NET Architecture ASP.NET AWS Azure Books C# Cloud CodeProject Database Data Security Facade Java Mobile Open Source Patterns PostgreSQL Programming Security SQL Server Tools Uncategorized Web Development Windows Phone

Recent Posts

  • Book Review: Dealing with Difficult People (HBR Emotional Intelligence Series) September 14, 2020
  • MYSWP – Book Links May 25, 2020
  • Book: Migrating your SQL Server Workloads to PostgreSQL May 5, 2020
  • Minimize Non-Critical Database Workload costs in AWS April 23, 2020
  • C# 8 New Features October 8, 2019

Archives

  • September 2020 (1)
  • May 2020 (2)
  • April 2020 (1)
  • October 2019 (1)
  • September 2019 (4)
  • July 2019 (2)
  • May 2018 (1)
  • September 2017 (1)
  • April 2017 (1)
  • April 2014 (1)
  • August 2011 (1)
  • June 2009 (1)
Copyright 2020. The Developer Space | Theme: OMag by LilyTurf Themes
  • DbStudio
  • shameel.net
  • Privacy Policy
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.