[블로그 보안] 블로그 불펌 방지 코드 삽입
<!-- 불펌 방지 코드 삽입 head -->
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
<!-- 불펌 방지 코드 끝 head -->
파일 다운로드
Adobe, Autodesk, DaouOffice, Hitachi, Microsoft, Nethru, Rapid7, Symantec, Trend Micro, WareValley...Etc
Posts List
Translate
2014년 2월 23일 일요일
2014년 2월 19일 수요일
[불펌 방지, 블로그 보안] 블로그 우측마우스 클릭 방지 방법
[불펌 방지] 블로그 우측마우스 클릭 방지 방법
<script language="JavaScript">
<!--
//Disable right mouse click Script
//By Being Geeks
//For full source code, visit http://www.beinggeeks.com
var message="퍼가지 마세요 ㅎ 원하시면 메일을 보내주세요. 메일은 kimseonghun0908@gmail.com 자료요청시 자료 보내드리겠습니다.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
<script language="JavaScript">
<!--
//Disable right mouse click Script
//By Being Geeks
//For full source code, visit http://www.beinggeeks.com
var message="퍼가지 마세요 ㅎ 원하시면 메일을 보내주세요. 메일은 kimseonghun0908@gmail.com 자료요청시 자료 보내드리겠습니다.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
피드 구독하기:
글
(
Atom
)