Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Meti View Post
    Why not do:
    body {
    website: no-clicking-on-links;
    website-safety: ban-if-done;
    }
    Thats how I do it.
    That's not even valid in anything :S


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  2. #22
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    That's not even valid in anything :S
    I think he was trying to be funny.

  3. #23
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Nah. It was just sarcasm.

  4. #24
    Join Date
    Jul 2006
    Location
    Cambridge, UK
    Posts
    447
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Sameer View Post
    Hello!

    I found this great script coded in javascript that disabled right-clicks on webpages. Basically no-one can right-click on your page.

    Here it is: Remember to put this code into the BODY of your webpage in HTML.

    HTML Code:
    <script language=JavaScript>
    var message="";
    
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if 
    (document.layers||(document.getElementById&&!document.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.oncontextmenu=clickIE;}
    
    document.oncontextmenu=new Function("return false")
    </script>
    Thankies!
    Known this for some time now - not really useful. If you are worried about images getting stolen, just stick a watermark or copyright text over the image.

    Quote Originally Posted by Iszak View Post
    Seriously this is completely pointless - if it's to stop them viewing the source, they can just do view -> page source or what ever it is for their browser. If it's to stop them from stealing images, they can easily disable JavaScript. Seriously disable right click is just a pain because it stops you from being able to do right click -> open in new window or tab. Sure you can do this with ctrl but still just no.
    Alternatively you can just middle mouse click on the link - this opens it in a new tab.

  5. #25
    Join Date
    Feb 2009
    Posts
    131
    Tokens
    0

    Default

    +REP for creativity.

  6. #26
    Join Date
    Jul 2008
    Posts
    179
    Tokens
    0

    Default

    but you can still drag the images, onto your desktop?


  7. #27
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Yeah, pretty much. Hence why this is useless.. except for the garbage.

  8. #28
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    If you're going to leave me a -REP, at least leave your name.

    I honestly don't care if you're tired of my "rudeness", it's the truth.. and if you don't like it, you can take a swift kick back to the Habbo section.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •