Skip to main content

save your blog data

How To Disable Right Click On Your Website Or Blog ?
 Disable Right Click for 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 ?

1. Got to your blogger Dashboard and then Click on Layout.
blogger widget

2. Now Click on Add Gadget and select Html/Javascript.
blogger widget
3. Now paste code given below in the pop up window.
< !--MBW 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://mybloggersworld.blogspot.in>
4. Save it and done. Now users will not be able to right click on your website. 5. If you like to disable mouse on your computer then check out tutorial given below.

Comments

Popular posts from this blog

Shortcut key to align code in eclipse

While learning java or working with java, we may need to copy a code from other source like internet or other files. When we do that the code may looks messy like before. which is not in standard and difficult to work on complex logics. Below key is useful to align the messy code:       Ctrl + Shift + F:   Formats a selected block of code or a whole source file.  Format messy code to Java-standard code.  If a code block is not selected, Eclipse applies formatting for the whole file. #shortcut key to align code in eclipse #shortcut_key_to_align_code_in_eclipse #shortcut_key_to_format_code_in_eclipse #shortCut key to format code in eclipse #shortcut_key_to_code_ alignment_in_eclipse #Auto- Alignment Shortcut Key  in  Eclips e

10 WhatsApp Tips and Tricks Everyone Should Know

For most of us, WhatsApp has become the default go-to messenger, because everyone's on it, and it's on nearly every platform. WhatsApp has over a billion downloads on Google Play alone, the only other messenger to boast that is Facebook Messenger. The app has made itself indispensable by adding a browser version and voice calling to its platform. For those who have to deal with the app on a daily basis, we've lined up some interesting tricks and tweaks that will improve your user-experience. 1. Mute group chats and notifications Group chat notifications can get noisy, they're best turned off when you have to focus on a task at hand. On Android On a group chat, tap the Menu button, and hit Mute. Then, choose the time-frame for which you would like the group to be muted. You can also disable notifications for the specified period. This feature is now available on the web browser too. On iPhone Open Group Chat, tap the group subject to reveal the Gr...

Google Translate adds 20 new languages to video text translation

The Google Translate app is about to get a lot more powerful. In an update released today, Google is adding dozens of new languages to some of the Translate app's most powerful features, and smoothing out the app to make it friendlier to slow connections. In particular, the update makes Translate's visual translation features significantly more powerful, letting mobile users translate 37 languages via photo, 32 via voice, and 27 through real-time video. Today's changes are updates to two features added to translate back in January: a real-time video translation feature called Word Lens and a conversation feature that translates bilingual speech in real-time. The Word Lens feature lets you point your phone's camera at a sign or any other text and have it translated into another language, with the translation appearing immediately on your screen. It's designed to work entirely offline, without making any queries to Google's servers — convenient for those b...