Skip to main content

How To Disable Right Click On Your Blog ?

How To Disable Right Click On Your Blog ?


If you own a blog or a website then you always want to prevent other malicious bloggers from copying the content from your blog. You might have written an article with great efforts and lots of research and other just copy/paste it on their blog. To prevent such users from copying content from your blog i will show you Javascript Trick to disable right click on your blog. So lets get started.

How To Disable Right Click On Your Blog ?

Step 1: Got to your blogger Dashboard and then Click on Layout.
Step 2: Now Click on Add Gadget and select Html/Javascript.
Step 3: Now paste code given below in the pop up window.

<!--Disable Right Click Code-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Code End http://ankithvicky.blogspot.in>

Step 4: Save it and done. Now users will not be able to right click on your website.  



Popular posts from this blog

CONVERTING TORRENT FILE TO ZIP FILE

HOW TO CONVERT TORRENT FILE TO ZIP FILE 1>>click the link below  http://www.zbigz.com   2>>upload your .torrent file  3>>wait until conversion, after conversion your  file can be downloadable in .zip format.

What is the difference between Abstraction and Encapsulation?

I'm sure You came here to see the answer after vising plenty of websites and which is not enough to understand about that concept. The reason why you cant get the perfect or believable answer abut this concept is you're not reading the whole content slowly and carefully. But im sure if you read this fully and carefully, you can earn the knowledge about the difference between Abstraction and Encapsulation. and here we are gonna teach you the real time scenario of Abstraction and Encapsulation. ok!  Lets go to the Topic. What is Abstraction: "Abstraction  is a process of hiding the implementation details and showing only functionality to the user." You could see this answer in many websites. Let me explain about what is implementation and functionality.  For Example, " Dhoni is a cool captain" Cool is his nature it is his Function. He is always cool even the Team is in underpressure. So cool is his Natural Function. And, We dont know how he is so cool in under...

What is UUID ? and Where its used ?

This article is regarding UUID and where it is used. The UUID is generated using a cryptographically strong pseudo random number generator. It is belongs to the package java.util. It is used to generate random number which is stronger and there wont be any  repetition of number.  UUID can be used for Creating random file names, Maintaining different Session id in web application. Transaction id in Banking sector. Primary key in Database. public static void man(String[] args) { UUID uniqueId = UUID . randomUUID ( ) ; System . out . println ( "The unique id is" + uniqueId . toString ( ) ) ; }