May 30, 2016

Copy Protect your Websites or Blogs from Fraudulent Users

           Nowadays,it has become a need to make your blog(bloggers too) copy protected since same copies would be found some where in the internet after few hours.This happens mostly through feeds where many sites would directly publish all our content from our site’s feeds.
Prevent copying of Text from your blogger or any sites
                It is possible to prevent copying the content of our blog by just adding some piece of code which will prevent fraudulent users to select the text.Insert the code into commonly visible area for all content,better place is footer area.

Copy Protected by <a href="">Computer tech tips</a><script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
function disableselect(e){
if (omitformtags.indexOf(
return false
function reEnable(){
return true
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")

Prevent copying of Pictures from your blogger or any sites

1.Look through the source code.

2.Retain only the tag, removing the rest:

for eg:

<img src="url to image file" alt="picture" border="0" />

3.Now add the following script just prior to the closing />:

oncontextmenu='return false;'

4.As an alternative, you could also pop up a message:

oncontextmenu='alert("Copy Protected."); return false;'


  1. this is fine for most blogs, but for those with a relatively rechy audience they may well know to simply suspend javascript to negate this code.

  2. I like this sentent so much. I have many sentent for you. That just about says it all, doesn’t it?

  3. how to prevent ctrl+a?

  4. one more… how to prevent file > save as complete html?
    sorry for double post… I’ve been searching through google but… I found nothin huhu

  5. thanks you .it is fine

  6. Thank you very much. It’s working fine

  7. THank you sooooooooooo much
    Good Bless You

Speak Your Mind