DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT - All Type Free Info Here Domain, Hosting, Blogger, Wordpress, Blogger Tools, Seo Tips, Blogger seo,

Latest

Friday, August 27, 2021

DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT

 

DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT

HELLO FRIENDS TODAY I M SHARING WITH YOU DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT


HOW TO DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT


DISABLE THE RIGHT CLICK OPTION IN YOUR SITE OR BLOG FOR PROTECT YOUR SITE FOR COPY PASTE

GO TO YOUR BLOG DASHBOARD CLICK ON THE THEME

THEN CLICK ON THE EDIT HTML BUTTON

DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT

THEN ADD THE JAVASCRIPT CODE BELOW <head> SECTION

DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT


DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT

DISABLE RIGHT CLICK IN BLOGGER WEBSITE|BLOGSPOT JAVA SCRIPT CODE

<script type='text/javascript'>
var isCtrl = false;
document.onkeyup=function(e)
{
if(e.which == 17)
isCtrl=false;
}
document.onkeydown=function(e)
{
if(e.which == 17)
isCtrl=true;
if((e.which == 85) || (e.which == 67) &amp;&amp; isCtrl == true)
{
// alert(&#8216;Keyboard shortcuts are cool!&#8217;);
return false;
}
}
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
</script>


No comments:

Post a Comment