开发者

is there anyway to force a link to open up in IE, even if not the default browser

开发者 https://www.devze.com 2023-01-05 21:54 出处:网络
we have a website with link开发者_开发百科s to a sharepoint.These features in sharepoint only work in IE so i dont want to open up firefox or chrome if that is the default browser.Is there anyway to h

we have a website with link开发者_开发百科s to a sharepoint. These features in sharepoint only work in IE so i dont want to open up firefox or chrome if that is the default browser. Is there anyway to have a

 <a href= "">My Link</a>

force open up in internet explorer ?


You can use javascript to inject the link in your HTML code if the client is IE, and maybe show a warning message if the browser isn't IE. Anyway you can't tell any browser to open a link using another browser.


No, definitely not.

For Firefox users, the best thing that comes to mind is to have them install the IE tab. It allows the opening of pages inside Firefox but using the IE engine - but also requires user action.


If this is run in a windows environment, you could use a PHP script to open Internet Explorer through PHPs support for COM objects.

If you are interested I can provide the script to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消