Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default Java Script Help?

    Okay I Would like the java script that blocks all copying xP

    The java script can be seen on http://www.habbo-info.co.uk/

    Can anybody tell me what the script is?
    Ty!

  2. #2
    Join Date
    Mar 2005
    Posts
    100
    Tokens
    0

    Default

    <script language="JavaScript">
    <!--
    /*
    No rightclick script v.2.5
    (c) 1998 barts1000
    barts1000****.com
    Don't delete this header!
    */

    var message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";

    // Don't edit below!

    function click(e) {
    if (document.all) {
    if (event.button == 2) {
    alert(message);
    return false;
    }
    }
    if (document.layers) {
    if (e.which == 3) {
    alert(message);
    return false;
    }
    }
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown=click;
    // -->

    </script>

    that is the code to display a right click warning

    or try this

    <script>
    window.oncontextmenu="return false";
    </script>

  3. #3
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    doesnt work in firefox "/

    http://www.stupidian.com
    (contains mild swearing)

  4. #4
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Its impssible to block all clicking thers no point trying. there blcoking scripst are easly bypassable.

    All blocking does is annoy members.

  5. #5
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Ye I Thats why I Wanted that java script that Habbo-Info Uses No Pop Up Things or anything.

  6. #6
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    try www.dynamicdrive.com they have them.

    http://www.stupidian.com
    (contains mild swearing)

  7. #7
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    If u need more info on javascript go 2 your local library and get Javascript for dummies it comes with a cd wewt and u can install it 2 your pc
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

Posting Permissions

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