Rock programmer provide to in this Tutorial share a Letest Tip regarding to Blogger, How to Disable or Banned the Copy Paste Option in your Site, And disable the Ctrl+A option in blogger , because this Concept provide means your website content is secure
The following the code is blow-
Step1. Go to the Dashboard ==>Layout.
Step3. Go to the select Gadget Html/JavaScript.
Step4. Go to the Gadget.
Copy and Paste Disable code is blow -
<!- start disable the copy paste code --><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 the copy paste code --></!->
The following the code is blow-
Step1. Go to the Dashboard ==>Layout.
Step2. Go to the Add a Gadget.
Step4. Go to the Gadget.
Step5. past the java script.
<!- start disable the copy paste code --><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 the copy paste code --></!->
No comments:
Post a Comment