0

Possible Duplicate:
Javascript redirect for Internet Explorer browser version user agent?
Detect IE version in Javascript

What is the best practice if I do not want to allow any users to use the site unless they have ie9 or higher, or firefox/chrome/safari. ie7 and ie8 should not work and it should redirect to a notification page that tells the user to upgrade his or her browser. Is this even the best practice for this situation? If so, how would the code look in javascript.

Community
  • 1
  • 1
anthonypliu
  • 12,179
  • 28
  • 92
  • 154
  • 1
    This has been asked many many times, please search. http://stackoverflow.com/questions/4539280/detecting-ie-version-not-considering-compatibility-mode http://stackoverflow.com/questions/10964966/detect-ie-version-in-javascript – sachleen Oct 03 '12 at 01:17
  • Dup http://stackoverflow.com/questions/7407182/javascript-redirect-for-internet-explorer-browser-version-user-agent – elclanrs Oct 03 '12 at 01:18

0 Answers0