TrixKing | How To Blogger

Pages

  • Home
  • SEO
  • Softwares
  • Games
  • How-Tos
  • Sitemap

19 Nov 2012

How To Disable Right Click on Blogger: Protect Blog Contents

Tweet
Disable right click on Blogger and protect it from CopyCats
How To Disable Right Click in Blogger(Disable right mouse click Script): Do you want to protect your Blog posts to be copied?.Do you want your posts be unique and no one can't to copy your blog contents.The Optimum solution is to prevent others to copy your posts.and to disable right click on Blogger blogs. so that even if user select the text, they can't to copy it. because the right click will not work and also CTRL+C.
However if you are providing services for the Bloggers and users by giving them codes such as widgets,plugins. then it will be the drawback. however you can also get rid of this problem. then there is another method that you can use which allow users to copy codes just by pressing a javascript button.

How To Disable users to copy your posts?:
The Best way is to Disable right click on your blogs.
Follow the Below Steps To implement this technique on Your Blogger Blogspot Blog:
Step-1: Go Your Blogger Dashboard Select A Blog.
Step-2: Go to Layout of your Blog and Add A Gadget Select HTML/JAVASCRIPT
Step-3: Now Copy Below code and Paste.

<script language=javascript>
<!--
//Disable right mouse click Script
//By TrixKing Blog

var message="Function Disabled!";
///////////////////////////////////
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>

Finally Save it and You are Done!
Now try to select some text in your Blog and you will see that right click does not works.
When you right click this message will Pop "function disabled".
Now if you want to change this text then change the text in above codes.
This Line : var message="Function Disabled!";
Please Share it! :)
Posted by Unknown at Monday, November 19, 2012 Email This BlogThis! Share to X Share to Facebook
Labels: How to Blogger

10 comments :

  1. Unknown19 November 2012 at 03:10

    Superb post........ Thanks Kamran bro....... keep it up..... :)

    ReplyDelete
    Replies
      Reply
  2. Unknown19 November 2012 at 03:19

    My Pleasure. Thanks to you for commenting.

    ReplyDelete
    Replies
      Reply
  3. Niaz ahmad20 November 2012 at 23:24

    very nice tutorial. i was thinking that how to prevent my posts. because some bloggers was copying it. and with your tutorial now my post are unique.
    Thanks a lot

    ReplyDelete
    Replies
      Reply
  4. Anonymous21 November 2012 at 03:29

    i like you site dear kamran khan it will help me to protect my blogger contents

    ReplyDelete
    Replies
      Reply
  5. Unknown21 November 2012 at 03:57

    Thanks anonymous: Thanks for liking TrixKing Blog. yes indeed. it help you to some extent. because when you Disable it on your Blogspot Blog. then newbies cannot to copy your posts and others things. and then good rank in Google and quality contents.and more chances for your post to be at the top in search results page(serps).
    Keep visiting

    ReplyDelete
    Replies
      Reply
  6. WC Barron, US Army (Retired)6 December 2012 at 16:59

    Thanks for the hot tip! I implemented the code right away on my blog and changed the message, which will hit the point hard to content thieves.

    ReplyDelete
    Replies
      Reply
  7. Unknown6 December 2012 at 22:06

    You Most Welcome! that's cool

    ReplyDelete
    Replies
      Reply
  8. Anonymous14 February 2013 at 03:53

    supeeeeeeeeeeeeerrrrrrr bosssss

    www.studentpond.blogspot.com

    ReplyDelete
    Replies
      Reply
  9. Anonymous14 March 2013 at 19:02

    Bro How Can I Disable right Click on Selected pages/posts in Blogger?
    Softronicinfo

    ReplyDelete
    Replies
      Reply
  10. Unknown14 March 2013 at 23:25

    good Question: i think if you include the script inside blog post,
    under HTML Tab, it may work.

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Newer Post Older Post

Search

Follow on Google+

Blogger

  • Blogger Widgets
  • How to Blogger
  • Tips and Tricks
  • Free internet phone calls

Like Facebook Page

Powered by Blogger.

Total Pageviews

 
Copyright © 2013 TrixKing | How To Blogger . Designed by Kamran Khan | Privacy policy