METHODE NO:1 STPES:
1. GO TO YOUR BLOGGER .
2. CLICK ON THE LAYOUT SECTION .
3. ON THE LAYOUT SECTION GO TO ADD A GADGET IN ANYWHERE .
4. OPEN THE HTML GADGET .
5. THEN GIVE THE CODE GIVEN BELOW :
<!- 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 --></!->
6. NO NEED TO GIVE ANY TITLE . CLICK ON SAVE BUTTON .
NOW CHECK YOUR BLOGGER . YOU ARE DONE .
METHODE NO :2
GO TO YOUR BLOGGER DASH BOARD . THEN GO TO THEME SECTION . CLICK ON EDIT HTML . THEN CLICK ctrl+F AND SEARCH BAR TYPE ]]></b:skin>. THEN PASTE CODE ABOVE THIS ]]></b:skin> GIVEN BELOW :
body {
user-select: none !important;
-moz-user-select: -moz-none !important;
-webkit-user-select: none !important;
-ms-user-select: none !important;
}
.post-body blockquote, .post-body pre, .post-body code {
user-select: text !important;
-webkit-user-select: text !important;
-ms-user-select: text !important;
-moz-user-select: text !important;
}
NOW SAVE THE HTML. IF YOU WANT YOUR USERS TO GIVE ANY CONTENT TO COPY FROM YOUR BLOG THEN WRITE LIKE THIS : FOR EXAMPLE
<blockquote cite="http://www.worldwildlife.org/who/index.html">For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.</blockquote>
THE DARK BLUE COLOURED PORTION IS THE TEXT WHICH YOU WANT TO SHARE WITH YOUR USERS SO THAT THEY CAN COPY IT .
METHODE :3
PASTE THE CODE IN HTML BELOW HEAD JAVASCRIPT :
<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 true" );}</script>
NOW SAVE HTML. DONE


0 Comments