Skip to main content

How to Disable Right click/ copy function in Blogger

Sometimes websites have a security feature in place that protects the text of the website to prevent users from stealing site content. So that some web sites do not allow their visitors using right mouse click while pointer is on the blog area. This option is useful for the site and blog owners, who want to minimize the possibilities of the content direct copying to other posts. They have valuable information and  people try to steal and republish their content frequently. That is, of course, quite illegal and a violation of international copyright law. And you may want to make click right disabled on your blog. to protect you text, images links and etc.

S0 to setup thisfunction in your blog Copy the Following code and paste it to your blog by adding a new page element.
First  Go to Dashboard > Layout > Add Gadget > HTML / JavaScript.then Copy the following code and paste it in that blogger widget. and Save the html/javascript and view you blog..
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By kishor kc
//For full source code, visit http://kishorkc.blogspot.com

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

Comments

Popular posts from this blog

General type of Washers

20 Chartink Scanner for Selling (short sell) Future, Cash, Inraday, swing for NSE, BSE SEnsex, Nifty fifty

  https://chartink.com/screener/sell-short-trades-awesome-breakouts-strategies-1 https://chartink.com/screener/sell-short-sell https://chartink.com/screener/sell-sell-sell-8 https://chartink.com/screener/sell-scanner-29 https://chartink.com/screener/sell-strong-below-pivot https://chartink.com/screener/sell-swing-cb-ema-mal https://chartink.com/screener/sha-ra-hara-uu-shri-lakshmi-lucky-short-magical-index-with-shri https://chartink.com/screener/short-covering-or-preparing-to-sell-on-top-2 https://chartink.com/screener/short-term-bearish-power-pattern https://chartink.com/screener/sell-prevous-day-125th-candle https://chartink.com/screener/sell-7052838 https://chartink.com/screener/sell-10-mins-price-volume-break-out https://chartink.com/screener/sell-confirm-entry-below-20 https://chartink.com/screener/sell-gap-and-snap-sell-after-breaking-of-yesterday-high-sl-high-of-open-price https://chartink.com/screener/sell-for-future-option https://chartink.com/screener/sell-max-volume http...

“Psycho-Cybernetics” Dr. Yogi Vikashananda, Manokranti Movement and Matrix in Nepal

Dr. Yogi Bikashananda introduced himself as a Yoga teacher (yogi meaning the yoga master), about a decade ago, but later he developed his own philosophy and own theory through his self study and practice and became an active philosopher of Nepal. He introduced 'Manokranti' philosophy, meaning the revolution of the mind. He has given new direction to the Philosophy of Nepal by advocating for a healthier and hygienic lifestyle.  He is most importantly a public figure who gives public speeches and publishes his views and ideas through writing as well. He is the founder of Manokranti revolution as well as many psychological revolution techniques known as Mind Technology. This includes Superlearning, Reiki and Psycho Nine.Therefore, Dr. Yogi Bikashanada is a multi-dimensional personality. He is a man with the passion to change the world.