특정 기기 접근 금지시키는 스크립트
<script>
if (/SM-A305/.test(navigator.userAgent)) {
window.location.href = "https://dsclub.kr/error.php";
}
</script>
기본은 갤럭시 a30을 접근 금지 시키는? 코드입니다.
https://google.com을 원하는 주소로 변경하세요.
(*하필 a30인 이유는 아부지 폰 기종이어서..)
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 5276 | 2년 전 | 1336 | |||
| 5275 | 2년 전 | 1406 | |||
| 5274 | 기타 | 2년 전 | 825 | ||
| 5273 | JavaScript |
swallow
|
2년 전 | 1056 | |
| 5272 | node.js |
swallow
|
2년 전 | 750 | |
| 5271 | JavaScript |
swallow
|
2년 전 | 1503 | |
| 5270 | PHP |
swallow
|
2년 전 | 850 | |
| 5269 | node.js |
swallow
|
2년 전 | 688 | |
| 5268 | node.js |
swallow
|
2년 전 | 1217 | |
| 5267 | PHP |
swallow
|
2년 전 | 1599 | |
| 5266 | MySQL |
swallow
|
2년 전 | 1096 | |
| 5265 | PHP |
swallow
|
2년 전 | 2036 | |
| 5264 | JavaScript |
swallow
|
2년 전 | 862 | |
| 5263 | 기타 |
swallow
|
2년 전 | 2985 | |
| 5262 | 기타 |
swallow
|
2년 전 | 671 | |
| 5261 | node.js |
swallow
|
2년 전 | 1065 | |
| 5260 | JavaScript |
swallow
|
2년 전 | 1514 | |
| 5259 | node.js |
swallow
|
2년 전 | 737 | |
| 5258 | node.js |
swallow
|
2년 전 | 1750 | |
| 5257 | node.js |
swallow
|
2년 전 | 1302 | |
| 5256 | PHP |
swallow
|
2년 전 | 1942 | |
| 5255 | node.js |
swallow
|
2년 전 | 692 | |
| 5254 | PHP |
swallow
|
2년 전 | 3018 | |
| 5253 | node.js |
swallow
|
2년 전 | 683 | |
| 5252 | 정규표현식 |
swallow
|
2년 전 | 625 | |
| 5251 | node.js |
swallow
|
2년 전 | 884 | |
| 5250 | PHP |
swallow
|
2년 전 | 1117 | |
| 5249 | node.js |
swallow
|
2년 전 | 1066 | |
| 5248 | PHP |
swallow
|
2년 전 | 1413 | |
| 5247 | node.js |
swallow
|
2년 전 | 1022 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기