적용효과

1. Printscreen 방지
2. 마우스 드래그 방지
3. 마우스 오른버튼 사용불가능
4. 웹브라우저의 "보기>소스보기" 메뉴 사용불가능

project.js 의 내용
------------------------------------------------------------------

function removeCache()
{
document.DSWC_IEG.DeleteCache();
setTimeout("removeCache()", 20000);
}

function disableselect(e)
{
return false;
}

function reEnable()
{
return true;
}


if (navigator.appName != "Netscape")
{
document.onselectstart=new Function ("return false");
document.oncontextmenu=new Function ("return false");
document.ondragstart=new Function ("return false");
}
else
{
if (window.sidebar)
{
document.onmousedown=disableselect;
document.onclick=reEnable;
}
}

function StartGuard(right)
{
if (navigator.appName != "Netscape")
{
var nav;

nav = window.navigator.userAgent;

//alert(nav);

// NT 3,4 일경우 그냥 통과
if ((nav.indexOf("NT)") >= 0) || (nav.indexOf("NT 4") >= 0) || (nav.indexOf("NT 3") >= 0))
{
return;
}
if (typeof(document.DSWC_IEG.ErrMsg) != "undefined")
{
document.DSWC_IEG.LicenseString = "ZaoQdxa4tl79dGwTOu95OBQh4SV1x1D4pUjB6YFfRGU9Tf6rH/npZknKgFPOX0vYsBq9sh1wyaZprnZ6Q6FiPpLX+kAHczLmfzhxOcamDCtwLUaUrvRlQ881e8B4vmJ1P5o5oP6KCwfQ1Erv0T6njLmOlIHyz5jMHR6Y3E2UkAuAn6GSiCEKHKrCSGYveRq5VBdOmAgYAHcEOeJRZcPG/w==";
document.DSWC_IEG.Start(right);
document.DSWC_CP.ClearList();
document.DSWC_CP.AddList("","IrfanView","i_view32");
document.DSWC_CP.AddList("SnagIt","SnagIt5UI","");
document.DSWC_CP.AddList("Configure Screenshot Utility","TConfigForm","");
document.DSWC_CP.AddList("ScreenGet","#32770","");
document.DSWC_CP.AddList("Mr. Captor","MrCaptorClass","");
document.DSWC_CP.AddList("Capturex","TMainfrm","");
document.DSWC_CP.AddList("Capture Professional v5","CSWORX-CP5","");
document.DSWC_CP.AddList("ScreenSharePro","TScreenShareDlg","");
document.DSWC_CP.AddList("ScreenSharePro","TEditCenterDlg","");
document.DSWC_CP.AddList("Easy Screen Capture 1.22","TfrmMain","");
document.DSWC_CP.AddList("HardCopy Pro","#32770","");
document.DSWC_CP.AddList("CaptureEze Pro - What would you like to do?","CzeProFrameCls","");
document.DSWC_CP.AddList("20/20 v2.2","TMainForm","");
document.DSWC_CP.AddList("SD Capture","#32770","");
document.DSWC_CP.AddList("HotShot","TfrmHotShot","");
document.DSWC_CP.AddList("Grabbit 2","#32770","");
document.DSWC_CP.AddList("ClipMate [Short-Term]","TfrmCM","");

document.DSWC_CP.StartAction();
removeCache();
}
}
}

function ObjectWrite()
{
var nav;

nav = window.navigator.userAgent;

// NT 3,4 일경우 그냥 통과
if ((nav.indexOf("NT)") >= 0) || (nav.indexOf("NT 4") >= 0) || (nav.indexOf("NT 3") >= 0))
{
return;
}

document.write("" +
" ");
}

------------------------------------------------------------------------


문서에 삽입할 내용

<script language="javascript">
<!--
ObjectWrite();
-->
</script>
<script language="javascript">
<!--
StartGuard(2);
-->
</script>

'컴퓨터' 카테고리의 다른 글

137 하드 문제  (0) 2006/06/10
WEB 2.0  (0) 2006/06/07
멀티디미어 다른 방법  (1) 2006/05/17
웹상에서 멀티미디어 태그 수정  (1) 2006/05/17
MSN 사용자 ID 및 자동 로그인 기록 지우기  (0) 2006/05/11
프린트 스크린 무력화  (2) 2006/04/05
고스트 사용법  (0) 2006/02/24
소프트웨어 테스트  (1) 2006/02/07
이미지필터  (0) 2006/01/11
윈도우 기능키들  (0) 2004/05/04
작은 익스플로어  (0) 2003/09/09