This is a new blogger hack. Well, i am not sure if its called blogger hack nor i think its new. But i had to start the paragraph with nice line so i said new blogger hack. You gotta problem with that? Okay, lets get to the point. Today we are learing(its learning, actually) to disable the right click on images. Disable the right click, what does it means? Oh, it means that the image can't be saved by clicking save image as which means your images cannot be stolen. Confused? I am sure you are. I am not good at english. So just read the whole post below and know by yourself.

Okay i think now you are known about the meaning of disabled right click and when do we need to disable right click on blog's images. So, if you think that thing is a thing you can too try in your blog then here is the code. Just paste the code below in the END of the page above end /body>tag and you are done. Congratulations, now your images are all safe.





<script language="JavaScript1.2">



/*

Disable right click script II (on images)- By Dynamicdrive.com

For full source, Terms of service, and 100s DTHML scripts

Visit http://www.dynamicdrive.com

*/



var clickmessage="Right click disabled on images!"



function disableclick(e) {

if (document.all) {

if (event.button==2||event.button==3) {

if (event.srcElement.tagName=="IMG"){

alert(clickmessage);

return false;

}

}

}

else if (document.layers) {

if (e.which == 3) {

alert(clickmessage);

return false;

}

}

else if (document.getElementById){

if (e.which==3&&e.target.tagName=="IMG"){

alert(clickmessage)

return false

}

}

}



function associateimages(){

for(i=0;i<document.images.length;i++)

document.images[i].onmousedown=disableclick;

}



if (document.all)

document.onmousedown=disableclick

else if (document.getElementById)

document.onmouseup=disableclick

else if (document.layers)

associateimages()

</script>

If you think this post was just digestible then can you link me back please?

1 comments
  1. eric foster May 25, 2021 at 4:39 AM  

    If you are in need of financial Help, don't hesitate to place an order for a program card that can withdraw any amount you want. Deserve Cards are very transparent and easy to deal with. You can Purchase Deserve cards that can withdraw up to $50,000 to $100,000 limit without being detected because of the programming of the card.  I'm extremely grateful to them for being honest with their words and delivering the card to me. This is the third day of receiving the card and I have withdrawn $9,500 from the Deserve Programmed Card. I tried purchasing the card previously from someone else, but it never arrived until I tried skylink technology for those in need of more money, you can also contact them. you can place order for the card Via whatsapp +1(213)785-1553 or their Email: skylinktechnes@yahoo.com