How to Disable Copy Paste

There three are ways to protect your blog post :

A. Put copyright on all your posts. Copyright will appear at the end of the post but can be deleted to claim as  their own

B. Disable Highlight. No highlight means short cut keys such as CRTL C and CTRL V cannot be used to copy paste.

C. Disable Right Click. The  purpose of  disabling the  mouse right click is for the people  not to be able to view source or page element.

A. How to put copyright in all of your post?

On you dashboard select layout.

 Then on layout, select add gadget and click HTML/JavaScript.

Then Add this one in the content:

<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Original from: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright News Watcher Stream Online - All Rights Reserved"; // <----- You can customize this one
var copytext = selection + pagelink;
var newdiv = document.createElement('div');'absolute';'-99999px';
newdiv.innerHTML = copytext;
window.setTimeout(function() {
}document.oncopy = addLink;

B.  Disable Highlight

Follow picture from figure one and two above.
Then Add this one in the content:

<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
function disableselect(e){
for (i = 0; i < omitformtags.length; i++)
if (omitformtags[i]==(
return false
function reEnable(){
return true
function noSelect(){
if (typeof document.onselectstart!="undefined"){
document.onselectstart=new Function ("return false")
if (document.getElementsByTagName){
for (j = 0; j < tags.length; j++){
for (i = 0; i < omitformtags.length; i++)
if (tags[j].tagName.toLowerCase()==omitformtags[i]){
document.onselectstart=new Function ('return true')
if (tags[j].onmouseup!==null){
var mUp=tags[j].onmouseup.toString()
mUp='document.onselectstart=new Function (\'return false\');\n'+mUp.substr(mUp.indexOf('{')+2,mUp.lastIndexOf('}')-mUp.indexOf('{')-3);
tags[j].onmouseup=new Function(mUp);
document.onselectstart=new Function ('return false')

C. How to disable right click of user's mouse?

1. In your dashboard click template.

2. Click Backup/Restore first and download your template for back up. Then click Edit HTML

3. Click Proceed

 4. Check (Expand widget Templates)

5. Now on your keyboard press CTRL+F . Then type <body>...
Change that to this  <body oncontextmenu='return false;'>

Source: Author of
Tags: , , ,

About Filipino Worldwide Bloggers

(FBW) started as a Facebook group on November 1, 2011 as Filipino Bloggers Around the World. As the name implies, the purpose is to unite all Filipino Bloggers around the world.


  1. the only sure way of protecting your content is by not posting it in the internet... just keep it in your head, no one can steal it from you that way... ;)

  2. Thanks for sharing this post. Now I know how to disable it.

  3. Cool tips, now I can disable copy paste feature on my blogs. Never thought about this before.

  4. Thanks Ma'am Tess for sharing this tips. Suki ako lagi ng mga 'magnanakaw' eh.

  5. I've been looking for this for a long time. I'll integrate this to my blog for saftey. Thank mami Tess. ^_^

  6. DO you have tutorial on WP template or can you direct me to one? Thanks, this is great.

  7. Hi Ms. Tess,

    I have the same question as Sir Rob. I have a WP and blogger accounts and I really need a tutorial for them. Hope you can make one. Pretty please. :)

  8. @special education philippines, @sir rob, WP-Copyright Protection plugin

  9. nice post. Copyright is always an issue and it's good to know how to protect your stuff.

  10. Nice post! now I'm thinking of trying it on one of my blog, but I just wanna know, is this script can slow down your site? if not then I will surely going to do it.

  11. Now I know. What a great tip. I was searching how to disable copy paste for my blog :) I'm just so grateful that I encountered this blog post.

  12. that is an awesome tip! going to my blogger account in a little while to do the trick you shared! thank you so much! :)

Leave a Reply

Related Posts Plugin for WordPress, Blogger...