Home » » Prevent or disable copy of your blog content

Prevent or disable copy of your blog content

How Do You Feel When Someone Copies and Pastes Your Post?

ya i know how do you feel.. sometimes people just don't understand simple manner to give credits to the original posters .

so what to do?

Yesterday I was just surfing net and suddenly saw this java script to prevent copy of content .I checked it in my test blog and it works perfectly.
Steps:Step 1. Goto your blog Layout and then goto Edit HTML.Download your current template.

Step 2: Now press ctrl+f and find </head> tag,then copy and paste javascript given below just before the </head> tag,save the template 

<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
function reEnable(){
return true
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")

This is the the Code you need to paste on </head> . i know you guys cannont copy my blog contents so use this website to copy the source code i had posted it on there

And to prevent Right click:::

What to do?
Log in blogger / Dashboard --> Design --> Add Gadget - scroll down --> HTML/JavaScript --> copy the next code and past in in HTML/JavaScript text box area
<script language="JavaScript">
//Disable right mouse click Script
var message="Function Disabled!";
function clickIE4(){
if (event.button==2){
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){
else if (document.all&&!document.getElementById){
document.oncontextmenu=new Function("alert(message);return false")
// -->
When someone will try to do right click a message will appear “Function disabled” , you can change this message too if you wish.

Jika Anda menyukai Artikel di blog ini, Silahkan klik disini untuk berlangganan gratis via email, dengan begitu Anda akan mendapat kiriman artikel setiap ada artikel yang terbit di Creating Website


Post a Comment

Support : Let We Know This | Mp3Waala
Copyright © 2011. Webmaster24x7 - All Rights Reserved
Template Modify by Let We Know This
Proudly powered by Blogger