Click here to Skip to main content
15,074,483 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am creating an website to open in Google Chrome with a lot links. Most of them will open in Chrome, but some of the links will only work in IE and Firefox. Therefore I need for these links to be diverted to either IE or Firefox.

I have googled, but not found any solutions.

Can you clever people in here please help.
F-ES Sitecore 9-Sep-15 10:21am
We don't know what your links are like so can't say why they have a problem in some browsers. You also don't say if it is the link itself that is an issue, or the page that opens after you click the link. You'd have to post some relevant code if you expect people to help you.
I don't think this "relevant code" can possibly help. The problem as principal character; please see Solution 1. I think, that's the bottom line.
F-ES Sitecore 9-Sep-15 10:45am
I didn't read the bit about diverting the links to other browser, obviously that's not a valid solution to the problem at all.
I think I suggested the only valid solution. :-)

There is no such thing. The users uses the browser she/he chooses, and has every right to do so; and you have no right or technical possibility to "divert" it, period. (Unless the users are corporate users and you want to keep them in handcuffs through draconian corporate IT administration, the option I don't want to discuss, as totally indecent.)

If some links are not showing properly in some browsers, it's not a problem of your code; this is a problem of the resources referenced by those links. If you don't like them, use better links. :-)
There is nothing else you could do about it.

Member 11971472 10-Sep-15 6:30am
It is a matter of helping the users.

Some of the links they use in their daily job will only work in Firefox

Others will work fine in Chrome.

I am making a link portal where the users have to use these links and if one of the links will work best in Internet Explorer it does not help the users that it is opening in Chrome.

You are saying there is nothing I can do about that?
Sergey Alexandrovich Kryukov 10-Sep-15 10:47am
No, I did not say there is nothing you can do. I said "nothing else". Please read thoroughly and be logical.
You gave as no information on what's wrong with those links. If the resources people view work purely with some browsers look bad, they look bad. Replace them.
Member 11971472 14-Sep-15 6:47am
Let me give an example.
I open a website in Google Chrome. I have a link on that site to, but would like to open this link in Internet Explorer is that possible.?
Sergey Alexandrovich Kryukov 14-Sep-15 10:19am
Yes, of course, but how that page will be rendered depends on that link.
"Will only work in IE" means total failure of a page, but this is not the responsibility of the page which link (anchor) is referencing the resource. The link itself cannot not to work.
Member 11971472 15-Sep-15 4:03am
what is the code for having the link open in IE?
Sergey Alexandrovich Kryukov 15-Sep-15 11:37am
Wrong question. The links should be used in the same browser.
If you want another browser, manually open it and do the same.
Member 11971472 16-Sep-15 7:51am
Thanks for your replies unfortunately nothing I can use.
Of course you cannot use anything. :-)
Member 11971472 16-Sep-15 9:16am
Process p = new Process();
p.StartInfo.FileName = "iexplore.exe";
p.StartInfo.Arguments = "http:\\\\";
Process p = new Process();
p.StartInfo.FileName = "iexplore.exe";
p.StartInfo.Arguments = "http:\\\\";

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900