The Developer Space

Developer's Cafe

  • 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

Migrate your SQL Server Workloads to PostgreSQL: Quick Reference: Second Edition

Book: Migrate your SQL Server Workloads to PostgreSQL: Quick Reference – Second Edition

Shameel Ahmed
October 18, 2022October 22, 2022 1 Comment

Re:Link for Mac is here!!!

Shameel Ahmed
November 14, 2021November 14, 2021 No Comments
Re:Link Architecture

Re:Link, the Browser Bootstrapper

Shameel Ahmed
July 12, 2021July 19, 2021 No Comments

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 Artificial Intelligence ASP.NET AWS Azure Books C# Career Cloud CodeProject Conversational Bots Database Data Security Facade IDEs Java Mobile MongoDB MySQL Open Source Patterns PostgreSQL Programming Python Redis Security SQL Server Tools Uncategorized Web Development Windows Phone

Recent Posts

  • Developer to Architect Series (Red Hat Enable Architect) January 16, 2023
  • Can ChatGPT replace Google Search? January 11, 2023
  • Learn Python with ChatGPT December 26, 2022
  • Book: Migrate your SQL Server Workloads to PostgreSQL: Quick Reference – Second Edition October 18, 2022
  • Increase Visual Studio Code Terminal Buffer Size July 14, 2022

Archives

  • January 2023 (2)
  • December 2022 (1)
  • October 2022 (1)
  • July 2022 (2)
  • February 2022 (1)
  • November 2021 (1)
  • July 2021 (1)
  • June 2021 (1)
  • 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 2022. The Developer Space | Theme: OMag by LilyTurf Themes
  • DbStudio
  • Re:Link
  • shameel.net
  • Privacy Policy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
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.
SAVE & ACCEPT