News Ticker

Menu

Disable Right Click on Blogger Images


  1. Open Blogger.com :-> Login Your Account :-> Open Your Blog Layout]
  2. Click [ Add Gadget ] And Choose Html/Javascript
  3. Now Copy Below Code And Paste it
 <script language="JavaScript1.2">  
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>

     4. All Done Now Open Your Blog And Check Yourself.

Share This:

Jillur Rahman

I'm Jillur Rahman. A full time web designer. I enjoy to make modern template. I love create blogger template and write about web design, blogger. Now I'm working with Themeforest. You can buy our templates from Themeforest.

2 comments to ''Disable Right Click on Blogger Images"

ADD COMMENT
  1. Before parting with any cash, in the event you're buying from your private seller, it's very
    important to acquire the car checked over by the qualified motor engineer pay day uk clinical
    - these are those who closely assist doctors inside healthcare industry, diagnose, and treat mental,
    emotional and behavioral distress among patients.

    ReplyDelete
  2. The APR tends to obtain higher as time passes if the credit
    prevails for on the period of time payday loans online you could also request
    a court hearing where you'll be given a possibility to clarify your own situation and try to surface with a payment solution that will satisfy your lender.

    ReplyDelete

  • To add an Emoticons Show Icons
  • To add code Use [pre]code here[/pre]
  • To add an Image Use [img]IMAGE-URL-HERE[/img]
  • To add Youtube video just paste a video link like http://www.youtube.com/watch?v=0x_gnfpL3RM