COMING SOON 🚀

키보드,마우스 등 불펌방지 입니다.

· 10년 전 · 242

<script>
/*  Lepas  */
//마우스우측버튼,F3,F5,F11,F6,마우스키,쉬프트+링크클릭(새창방지),컨트롤 조합키, 백스페이스,드래그 방지//

var keydownCtrl = 0;
var keydownShift = 0;

document.onkeydown=keycheck;
document.onclick=clickcheck;
document.onkeyup=uncheckCtrlShift;

function keycheck()
{
      switch(event.keyCode){ //키값에 따라
              case 114:event.keyCode='';return false; break; //F3
              case 116:event.keyCode='';return false; break; //F5
              case 122:event.keyCode='';return false; break;//F11
              case 117:event.keyCode='';return false; break;//F6
              case 93:event.keyCode='';return false; break;//메뉴키
              case 16:event.keyCode='';keydownShift=1;return false; break;//쉬프트키
              case 17:event.keyCode='';keydownCtrl=1;return false; break;//컨트롤키
              case 8:event.keyCode='';return false; break;//백스페이스
      }
      if(keydownCtrl) return false;
}

function clickcheck()
{
      if(keydownShift) return false;
}

function uncheckCtrlShift()
{
      if(event.keyCode==17)      keydownCtrl=0;
      if(event.keyCode==16)      keydownShift=0;
}
</script>
<body onselectstart="return false" ondragstart="return false" oncontextmenu="return false;"> 

|
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
10년 전 조회 252
10년 전 조회 192
10년 전 조회 249
10년 전 조회 210
10년 전 조회 266
10년 전 조회 351
10년 전 조회 365
10년 전 조회 305
10년 전 조회 273
10년 전 조회 260
10년 전 조회 234
10년 전 조회 276
10년 전 조회 243
10년 전 조회 206
10년 전 조회 202
10년 전 조회 255
10년 전 조회 297
10년 전 조회 234
10년 전 조회 262
10년 전 조회 236
10년 전 조회 213
10년 전 조회 271
10년 전 조회 303
10년 전 조회 397
10년 전 조회 430