Sabtu, 29 Oktober 2016

Anti Copy Code for Blogger: How to turn off function Right Click

Tags

IF you want to protect your blog content (posts, writing) in order not to copy and paste (copy and paste) or stolen by the user, then use the code anti Copas to turn off the function of the right mouse click (disable right click), also disable Ctrl + C , disable select text, can even disable Ctrl + P. Here is some code that can be installed in the blog template to protect posts (blog content) blogspot of the artisan Copas and plagiarist (plagiarist). There are 4 code, start level "less safe", "secure", "more secure" to "very safe". However, a minute before ..... there ya records. Users that "IT literacy" and / or understand about javasript can still "tinkering" if you want to copy (copy and paste) your blog posts. Anyway, according to many people, disable right click and Ctrl + C (Copy), "is not of the age". Now its time for alms. Let wrote the copy and paste your post. Still according to many people (bloggers / experts SEO Blog), turn off the right-click function or code installed anti-Copas, will make the user "angry" and no longer wanted to open our blog. That is, there is a potential drop in visitors. Losses disable right click on the blog can be read on page Site Point. But, if you want to protect the contents of the blog from the "theft" of Copas, let alone without mentioning the source (your blog link), then he is the code to turn off the right-click function, anti-Copas, anti Ctrl + C (Copy ), anti Ctrl + P (Print), anti Ctrl + U (View Source Code). In essence, your blog can only be read only!

CODE #1

The following code is deadly right-click functions, as well as bring a message from you as a blogger.

1. Click on "Lay Out" 2. Click "Add Gadget" (free widgets position, anywhere) 3. Select "Javascript / HTML" 4. Copy + Paste the following code in the box provided:

<script> var message="Dont Copy Please";
///////////////////////////////////
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>

5. Save!

Note the red letters that you can change. This code still allow the "Select Text" and Ctrl + C. That is, your blog content can still be copied. At least, though still in-Copas, by using the above code, we can give a warning that "artisan Copas" earlier citing sources.

CODE #2

The following code is higher than the above code. That is, the code is completely shut off right-click, can not "select text", and disable Ctrl + C keyboard. However, we still blog content can be copied by means of Ctrl + P (Print). There "the copaser" still "Select Text" and "Copy" writing on our blog.

how to set it up the same as above

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


EmoticonEmoticon