Disable copy paste and Right Click

1.Disable copy paste




<!- 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 --></!->


2.Disable Right Click 




<script language=javascript>
<!--

//edit by iamravlo


var message="Right Click Has Been Disabled";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;







1.Backup Your Blogger Template.

Go To > Blogger > Theme > 3 dots > Backup > Download.

2. Open HTML Editor.

Go To > Blogger > Theme > 3 dots > Edit HTML.

3. Search For Head.

Click in empty space and press CRTL+F and enter in search box "<head>".

4. Copy the code to paste above Head.

Now Copy the below code and paste above <head>

  <script language='JavaScript1.2'>function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function ("return false") if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>

Post a Comment

Previous Post Next Post