Blog b = new Blog("marcos blog"); RSS 2.0
# Saturday, May 23, 2009

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.

Saturday, May 23, 2009 6:10:06 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [4]
.NET | Avanade | Das wahre Leben | Software | Windows 7
Monday, May 25, 2009 12:36:30 PM (W. Europe Standard Time, UTC+01:00)
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
Monday, May 25, 2009 8:09:26 PM (W. Europe Standard Time, UTC+01:00)
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 ;-)
Tuesday, June 02, 2009 1:30:28 PM (W. Europe Standard Time, UTC+01:00)
Nicht denken Marco ... MACHEN ;)
Ronny Ulbricht
Tuesday, June 02, 2009 6:58:47 PM (W. Europe Standard Time, UTC+01:00)
Nachdem ich mein kleines super tool jetzt ein paar Tage installiert hab, hab ich ein "kleines" problem festgestellt...
Man kann nun keine ASP.NET applikationen im visual studio mehr debuggen, da der Browser selector aufgerufen wird, dieser den Browser startet und sich selbst sofort wieder beendet. Damit denkt Visual Studio, das debuggen wäre beendet.

Die Sache mit dem Dialog ist damit zumindest für mich aktuell wenig sinnvoll. Falls ich mal 5 minuten nichts zu tun hab, werd ich an der Situation vielleicht was ändern. Aktuell beansprucht mich in meiner Freizeit vor allem mein anderes Tool: Proxy Switcher.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, strike, strong) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
Statistics
Total Posts: 192
This Year: 4
This Month: 1
This Week: 0
Comments: 291


Sign In
All Content © 2010, Marco Wiedemeyer
DasBlog theme 'Business' created by Christoph De Baene (delarou)