Disabling Right Click And CTRL + C Combination In Blogger

by Sushant Risodkar · 5 comments

Content thieves are increasing day by day , they copy your content and change some words in it , use a few SEO tricks and make Google bots perceive the stolen content as original one , and their blog appear before yours on search results , yeah its that easy ,and this situation annoys every web master , but with a javascript code we can prevent thieves from copying our content.


With this javascript code , nobody will be able to click right on your site and since they cannot select the content CTRL + C combiantion will not work , here’s the code written by Andy Scott :

Copy the java codes below , before </body> tag without expanding template.

<script language=’JavaScript1.2′>

//Disable select-text script (IE4+, NS6+)- By Andy Scott

//Exclusive permission granted to Dynamic Drive to feature script

//Visit http://www.dynamicdrive.com for this script

function disableselect(e){

return false

}

function reEnable(){

return true

}

//if IE4+

document.onselectstart=new Function (&quot;return false&quot;)

//if NS6

if (window.sidebar){

document.onmousedown=disableselect

document.onclick=reEnable

}

</script>

<script language=’JavaScript’>curPage=1;

document.oncontextmenu = function(){return false}

if(document.layers) {

window.captureEvents(Event.MOUSEDOWN);

window.onmousedown = function(e){

if(e.target==document)return false;

}

}

else {

document.onmousedown = function(){return false}

}</script>

You need proof ? Click this blogspot blog about turkish hotels and try to copy content 🙂

Thanks Kelly for her amazing poem !

Also not that don’t add this on those type of blog which is based on programming n designing etc. like mine.otherwise the code or anything which you are providing, they will not be able to add it..



Top 10 Search Terms:

• disable ctrl c javascript • disable ctrl c • how to disable ctrl c in javascript • disable right click and ctrl c • javascript disable ctrl c • disable ctrl c in blogger • disable right click and ctrl c javascript

About Sushant Risodkar

Yo! I'm +Sushant Risodkar & my nickname on web is Typhoon. I'm a 19 yrs. old young blogger from India & the owner of SmartBloggerz. If you are looking for SUCCESS as a blogger & affiliate marketer then SmartBloggerz is the right blog for you. You can follow me on Twitter or be my friend on Facebook. And hey! Don't forget to LIKE SMARTBLOGGERZ on Facebook. Read more About Sushant Risodkar.

has written 377 superb article(s) on this blog

Follow me on Twitter · Visit my website →

Free Software of the Day July 17, 2008 at 5:24 pm

this is pretty cool, i like it, but not sure if i would use it in any of my blogs b/c i know that i have tried to copy something from someones site before and it had this on it, it made me angry and i never went back to the site, the only thing i was going to use the text for was for a school project.
Thanks
juzten
http://dailyfreesoftware.blogspot.com

Angela May 21, 2010 at 1:03 pm

Hey Typhoon, thanks a lot for this script! I got a client who specifically asked for this function in a new website and I found this article through Google. Does this trick also work with newer browsers like Safari, Chrome and FireFox?

Typhoon May 21, 2010 at 4:38 pm

Yes, it do works in Firefox..Not having any idea about Chrome and Safari.

Sarah February 17, 2011 at 2:24 pm

Wow. It works for me Thank you for the great share. Now my pictures in my website cannot be copied

Kei January 17, 2012 at 10:53 am

Thank you very much for this script. You don’t know how much you have helped me. Kudos!!!

Previous post:

Next post:



whos.amung.us