2016-11-08 1 views
-1

Internet Explorer 사용자가 내 웹 사이트에 액세스하지 못하도록 차단할 수 있습니까? 나는 몇 가지 다른 일을 시도했지만 그들은 단지 (... 실 거예요 작업) 나는이 시도 일 ..Internet Explorer 사용자 차단

예를 못해 :

<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> 

내가 그들을 차단할 수 있습니까? 사용자가 IE를 사용하는 경우 경고

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

그리고 예를 들어 디스플레이 :

답변

-1

는 당신은 IE 사용자가 읽을 것이다 스타일 시트 (IE < = 9)를 연결할 수 있습니다. How to target only IE (any version) within a stylesheet?

+1

가 IE 10 이상에서 작동하지 않습니다 :

당신은 또한 IE 10을 대상으로 이상, 나는이 게시물에 당신을 리디렉션하고 싶은 경우에

. – JJJ

+0

내 대답을 편집했습니다. – nicovank