Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Posts
    224
    Rep Power
    0

    Default How to disable right click on the images ??

    Right clicking on the images leads to downloading of images to the hard disk from sites, but I can trace some sites which has right click disabled. How did they do it ?

  2. #2
    Join Date
    Jul 2008
    Posts
    58
    Rep Power
    0

    Default

    They use a javascript.

    Code:
    <script language=JavaScript>
    <!--
    //Disable right mouse click Script
    //By Kijairo!
    
    var message="Function Disabled!";
    
    ///////////////////////////////////
    function clickIE4&#40;&#41;&#123;
    if &#40;event.button==2&#41;&#123;
    alert&#40;message&#41;;
    return false;
    &#125;
    &#125;
    
    function clickNS4&#40;e&#41;&#123;
    if &#40;document.layers||document.getElementById&&!document.all&#41;&#123;
    if &#40;e.which==2||e.which==3&#41;&#123;
    alert&#40;message&#41;;
    return false;
    &#125;
    &#125;
    &#125;
    
    if &#40;document.layers&#41;&#123;
    document.captureEvents&#40;Event.MOUSEDOWN&#41;;
    document.onmousedown=clickNS4;
    &#125;
    else if &#40;document.all&&!document.getElementById&#41;&#123;
    document.onmousedown=clickIE4;
    &#125;
    
    document.oncontextmenu=new Function&#40;"alert&#40;message&#41;;return false"&#41;
    
    // --> 
    </script>
    Please note: you can easily bypass this, not worth it

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Age
    38
    Posts
    2,807
    Rep Power
    0

    Default

    So will this javascript work on a blog based on HTML ??
    Hidden Content
    Hidden Content
    Hidden Content
    Hidden Content

    Any suggestions for Online or Hosting or blog setup Contact me

  4. #4
    Join Date
    Jul 2008
    Posts
    58
    Rep Power
    0

    Default

    Quote Originally Posted by nick_westlife
    So will this javascript work on a blog based on HTML ??
    Yeah! simply add the code in the <BODY> section.

    Like i said you can easily bypass this code :?

    You can also edit the message it display just replace the ''function disabled'' with your own message.

    var message="Function Disabled!";

  5. #5
    Join Date
    Sep 2008
    Posts
    705
    Rep Power
    0

    Default

    hey dude this site might be useful for the ppi programs i think.but if you disable the right click option this might not help in ppi.i need a javasrciot that leads to downloading if we right click on anything.please help me.

  6. #6
    Join Date
    Sep 2008
    Posts
    222
    Rep Power
    0

    Default

    go to regedit in this local machine >software>microsoft>windows>currentuser>u will find option

Similar Threads

  1. Win money sharing images on forums
    By pepitaputa in forum Make money without website
    Replies: 4
    Last Post: 04-12-20, 00:50
  2. Win money sharing images on forums
    By pepitaputa in forum Make money without website
    Replies: 0
    Last Post: 03-03-11, 14:47
  3. help with adding images
    By saintdrone in forum Make money without website
    Replies: 0
    Last Post: 15-10-09, 04:20
  4. Looking for images
    By cj monaco in forum Affiliate program networks
    Replies: 12
    Last Post: 13-12-08, 16:15
  5. New Paid to Click Pays $150 per click, what is your opinion?
    By alpine in forum Make money without website
    Replies: 10
    Last Post: 26-11-08, 00:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
webmaster forums webmaster resource forum webmaster money forums