Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My default web browser is Opera. This is the desired behavior for general browsing.

However, I would prefer that a URL in a domain opens in Internet Explorer where the content of that domain is more compatible with Internet Explorer than with Opera.

For example, this link:

http://ssrs/Reports

should open in Internet Explorer because the location is in the ssrs domain. In my organization, content in this domain is served by SQL Server Reporting Services, which works well only with Internet Explorer.

This link:

http://fogbugz/default.asp

should open in Internet Explorer because the location is in the fogbugz domain. In my organization, content in this domain is served by FogBugz. Several features of FogBugz are broken or buggy in Opera.

Any other domain should open in Opera.

How do I configure Windows 7 with these rules?

share|improve this question
2  
Some alternate ways to solve the issue from an older question‌​. Just to note that i can't think of any way to do this offhand, since your browser would need to be aware of other browsers, and quirks mode. –  Journeyman Geek Jul 12 '12 at 11:04
    
When you want to open them, where are you typing these URLs? –  Ƭᴇcʜιᴇ007 Jul 12 '12 at 11:58
    
I'm not typing them. The links appear in other applications. For example, someone sends me an IM message with a link to FogBugz case. –  Iain Elder Jul 12 '12 at 13:36
    
If you'd be willing to switch to FF, it has an extension that will open pages in IE based on url. –  Paul Jul 12 '12 at 13:40
1  
In particular, I don't want a link typed into the address bar of Opera to open in Internet Explorer. If I type it in Opera, it should open in Opera. If I type it in Internet Explorer, it should open in Internet Explorer. If the URL is found outside of the context of a browser, then the system should decide which browser should handle it. –  Iain Elder Jul 12 '12 at 13:55

2 Answers 2

There can't be a simple system-wide solution. Here is why:

  • Windows will always recognize your http://ssrs/Reports link as HTTP-protocol and open it with the registered application regardless of the rest of the link.
  • you can associate another browser which windows 7 should use for HTTP-URLs.
    But that won't be conditional since you can only choose one at a time.
  • you can modify this association via regedit.exe to point it to a (portable) software

Your best shot will be to write (or ask a developer for) a short AutoHotKey tool and point your HTTP-protocol to that software via regedit. The link shows the basic steps.
After that your new tool will get every URL as parameter and can choose what to do next

if parameter like http://ssrs/* then 
   open "C:\Program Files\Internet Explorer\iexplore.exe"
else
   open "C:\Program Files\Opera\opera.exe"
end

My AHK days are long gone.
But maybe another superuser can help you out.

share|improve this answer
1  
Actually your first reason as to why it can't be done is the solution 1.) Get a developer to write a simple app. 2.) Register that app as the handler for all HTTP requests (i.e. make that app the "Default Browser" in Windows). 3.) The app uses a list of regex values from a config file based on URL to decide which browser to open the URL with, including a fallback browser -- so it does that -- and then it closes itself, never to be seen again. 4.) Share that app with the rest of us. :D –  BrainSlugs83 May 6 '13 at 18:34

For Mac: Choose Wisely

For Windows: TurnOut.NET

share|improve this answer
    
Unfortunately, these work by setting the browser chooser as default browser, and therefore fail for all links clicked within a browser — only links from other programs are affected. –  Daniel Beck Feb 7 '13 at 16:09
    
When recommending software or products, please review this meta post on how. –  KronoS Feb 7 '13 at 16:22
    
@Daniel Beck -- that's not correct -- for example, IE is not my default browser, Chrome is. When I click on a link in IE, guess what? It opens in IE. (I can also reverse this scenario for Chrome, or Firefox -- same repro.) Browsers don't call the "Default Web Browser" app to open hyperlinks; that would be silly. They just follow them. –  BrainSlugs83 May 6 '13 at 18:38
    
TurnOut.NET seems like it would almost do the trick -- clearly though it needs some way to be configured with RegExs or at the least hard coded domains to meet the OP's needs. –  BrainSlugs83 May 6 '13 at 18:40
    
@BrainSlugs83 That's exactly the point I was trying to make. Links clicked within a browser are not affected. If the user clicks on a link to http://ssrs/Reports in Opera, it should probably open in Internet Explorer as per the requirements. –  Daniel Beck May 6 '13 at 19:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.