Results 1 to 3 of 3

Thread: Blocking right click on website

  1. #1
    PerrySullivan is offline Senior Member
    Join Date
    Dec 2009
    Posts
    209
    Rep Power
    3

    Default Blocking right click on website

    I develop one website and I want to restrict the right click option on my website that is not any of the visitors unable to right click on my website and also the visitor unable to save pages. How it is possible? If you are having any suggestions then reply me. It can helpful to me. Thanks in advanced

  2. #2
    RussellBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default

    Use no right click script will certainly help you with this issue, so I would ask you to use the script, I also did not mention the right mouse button below the this segment of code in the head section of your HTML code:

    Code:
    <script language=JavaScript><!--
    var message="";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if 
    (document.layers||(document.getElementById&&!docum ent.all)) {
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers) 
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")
    // --> 
    </script>

  3. #3
    PetersonClark is offline Senior Member
    Join Date
    Dec 2009
    Posts
    202
    Rep Power
    3

    Default

    As far as I know it is possible to disable the right mouse button on a Web page so that all your pictures and content can be protected from copy or steal images, or even copy the content. But the user will still be able to steal or copy the source code, regardless of the blocking function of the right mouse button. Simply use the no right click script.

Similar Threads

  1. Blocking a Website Domain
    By Adam147 in forum General Internet Terms
    Replies: 0
    Last Post: 01-08-2010, 03:10 PM
  2. Blocking a Website With Categories for Staff
    By HowardAllen in forum Networking Jargons
    Replies: 0
    Last Post: 01-04-2010, 05:16 PM
  3. Suvil I-T Click Click 2.0 Mouse
    By Easton Botham in forum other peripherals
    Replies: 0
    Last Post: 12-23-2009, 01:12 PM
  4. Ad Blocking In Opera
    By poulharis in forum Everything Else
    Replies: 0
    Last Post: 08-06-2008, 01:29 PM
  5. Ad Blocking In Firefox
    By poulharis in forum Everything Else
    Replies: 0
    Last Post: 08-06-2008, 01:27 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48