Is there an easy way to get a user to use Internet Explorer, ideally, without installing anything new?

I work on four internal websites, everyone should use IE, but not all are.

Is there an easy way to get the user to use IE, ideally without installing any new ones like jQuery?

Cheers, Cohan


Adding

I really did not need to justify why I want to do this, but here it goes.

This site is completely internal, and 98% of users are not allowed to install a new browser ... however there are a few favorites. This is good for most of our sites, but since these sites are very old, they do not work in anything other than IE. I could fix this for all browsers ... but it’s better to use my time to just put a “hot-fix” for now, as this will most likely be rewritten next year. The site itself is also used only once a year. It's just not worth the time investing in this case.

Thanks Cohan.

+4
source share
3 answers

If you really wanted to do this, you can check the user agent of each request, and if it does not redirect IE to the holding page, explaining that they need to change browsers.

var userAgent = HttpContext.Current.Request.UserAgent;

Alternatively, use the Request.Browser property.

 if(HttpContext.Current.Request.Browser.Browser != "IE") { // do stuff... } 
+6
source

You can find the type of browser, and if it is not IE, then do Response.Redirect() on the common Use IE page.

 if (!(Request.Browser=="IE")){ Response.Redirect("UseIE.aspx"); } 

You will need to check the return values ​​of Request.Browser , although I'm not sure without testing

+3
source

I suggest something heretical: instead of fighting Internet Explorer, getting users to use Google Chrome Frame This is a “plugin” for Internet Explorer that makes the page work as if they were in Chrome.

I quote from this page:

Google Chrome Frame is an open source plugin that Google Chrome opens up web technologies and speeds up the JavaScript engine to Internet Explorer. Using Google Chrome Frame, you can:

  • Start using open web technologies - like an HTML5 canvas tag - right away, even technologies that are not yet supported in Internet Explorer 6, 7, 8, or 9.

  • Take advantage of JavaScript performance improvements to make your applications faster and more responsive.

Now your users can have IE 6.0 for working with their outdated internal web applications, and you can work against the “unified” (you only program against Chrome) “modern” web browser.

0
source

All Articles