Browser Selector

23. May 2009 17:10 by marco in .NET, Avanade, Das wahre Leben, Software, Windows 7  //  Tags:   //   Comments (3)

Today I have created a little tool. I called it “Browser Selector”. It is for all people who uses more than one browser.

My scenario:

I’m using Opera and Internet Explorer. Opera for daily browsing and Internet Explorer for all Microsoft sites and for the company intranet.

Browser Selector now helps to avoid copy&paste url’s in one of the browsers depending on the url. Instead I can click directly on each url from all applications (Outlook, MSN Messenger, etc) or even enter the url in the start menu and it opens automatically in the correct browser!

Configuration:

To configure, which url will be opened in which browser, there is a config.xml file:

<?xml version="1.0" encoding="utf-8" ?>
<BrowserSelector>
  <Rules>
    <Rule Url="microsoft.com" Browser="IE" />
    <Rule Url="live.com" Browser="IE" />
  </Rules>
  <Browsers>
    <Browser Name="Opera" Path="C:\Program Files (x86)\Opera\opera.exe" Default="true" />
    <Browser Name="IE" Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe" />
  </Browsers>
</BrowserSelector>

There you see a Rules section. In the Url attribute you can use regular expressions as well.
In the Browsers section you define all of your browsers and mark one as default which will be used if no rule matches.

Now download the msi, install it and configure it as you like. It is well tested with Windows 7 RC.

If you have any questions, problems or suggestions, write a comment.

Comments (3) -

Fabian Wetzel
Fabian Wetzel
5/25/2009 11:36:30 AM #

Hm, also im Firefox installiert man dafür IETab und kann dort auch filter einstellen, so dass bestimmte seiten immer mit der ie engine gestartet werden. die ist dann übrigens komplett in den browser eingebettet. Deine lösung ist hingegen flexibler, was weitere browser betrifft.

wie wärs noch mit einer Variante "Ask", wo dann ein Dialog kommt und man den richtigen browser auswählt? also ich meine jedes mal. wäre vielleicht für webdesigner interessant...

mfg
Fabse

marco
marco
5/25/2009 7:09:26 PM #

Ok, da ich Firefox nicht nutze, wusste ich das natürlich nicht.
Macht aber nichts, ich bin mit meiner Lösung ganz zufrieden, denn es werden auch wirklich 2 verschiedene Browser (inkl Favoriten/Tabs/etc) geladen und nicht ein Browser mit 2 verschiedenen Engines.

Eine "Ask" Variante wäre allerdings tatsächlich ganz interessant. Ich denk drüber nach Wink

business directory
business directory
5/15/2012 7:35:10 AM #

Yet another articulate post. You know, I am totally delighted I came across this. I'll tweet this blog so my buddies can read this too!

Add comment

biuquote
  • Comment
  • Preview
Loading