아우 ~ 네이버나 티스토리는 마우스 오른쪽 복사 방지랑, 텍스트 복사 방지는..
설정에 들어가서 활성화시켜주면 되는데 ㅠ.ㅜ 여기는 하나부터 열까지 내가 다 해야 해!!
오늘 갑자기 오른쪽 마우스 클릭 방지가 되나? 보다가 안 되는 걸 깨닫고...
급히 html 코드 찾아가지고 넣었음 -_-...휴우.
여기로 이사 오니깐 새로 설정해야 하는 것도 많고 -_-.. 또 뭐가 남았지... 찬찬히 생각해 봐야겠다... 참고로 지금 손가락 부상으로 타이핑 치는 게 아주 불편하다...
또 뭘 추가하고 설정해야 하는지 잘 생각해 봐야지
블로그스팟 설정 방법:
레이아웃 → 사이드바 (상단 or 하단) 아무 곳이나 상관없음 - 가젯추가 → HTML/자바스크립트 누름 → 제목에다가 설정하는거 이름 쓰고 밑에는 코드를 넣기
마우스 우클락 코드:
<script language=javascript>
<!--
//edit by iamravlo
var message="Right Click Has Been Disabled";
///////////////////////////////////
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>
텍스트 복사 금지 코드:
<!- start disable copy paste --><script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><script type='text/javascript'> if(typeof document.onselectstart!="undefined" ) {document.onselectstart=new Function ("return false" ); } else{document.onmousedown=new Function ("return false" );document.onmouseup=new Function ("return false"); } </script>
<!-- End disable copy paste --></!->