security - Block Internet Explorer Users -


how can block internet explorer users accessing website? have tried few different things wont work..

example tried (wont work...):

<meta http-equiv="refresh" content="1;  url=http://www.kellotorni.eu"> </head> <body> <script language="javascript"> <!-- if (navigator.appname == "microsoft internet explorer") {         document.location = "http://www.google.fi";  } else {          document.location = "http://www.kellotorni.eu"; } // --> </script> 

how can block them?

you link style sheet read ie users (ie <= 9):

<!--[if ie]> <link rel="stylesheet" href="ie-styles.css" media="screen" type="text/css" /> <![endif]--> 

and display example warning if user uses ie.

if want target ie 10 , above, redirecting post: how target ie (any version) within stylesheet?


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -