Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Location
    Scotland
    Posts
    433
    Tokens
    0

    Default Disable ricght clicking?

    Can anyone tell me the code for disabling right clicking please? Thanks

  2. #2
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Whats the use of disabling right click?

    For source: Firefox = Ctrl + U
    For Images: Firefox = Tools >> Page Info

    No use disabling right click when people can still access everything, people just get peeved off they can't right click and go somewhere else.

    But if you still want to, search google, lazy person.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  3. #3
    Join Date
    Feb 2005
    Posts
    2,503
    Tokens
    0

    Latest Awards:

    Default

    People will still be able to view the source and get images even if you do use disable right click .

    http://www.dynamicdrive.com/dynamicindex9/noright.htm

    That page should help .

  4. #4
    Join Date
    Feb 2006
    Location
    Inside your PC
    Posts
    1,626
    Tokens
    0

    Latest Awards:

    Default

    Here you go:

    Code:
    script language=JavaScript>
    <!--
    //Disable right click script III- By Renigade ([email protected])
    //For full source code, visit http://www.dynamicdrive.com
    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>
    <SCRIPT language="JavaScript1.2">
    //Disable select-text script (IE4+, NS6+)- By Andy Scott
    //Exclusive permission granted to Dynamic Drive to feature script
    //Visit <http://www.dynamicdrive.com> for this script
    function disableselect(e){
    return false
    }
    function reEnable(){
    return true
    }
    //if IE4+
    document.onselectstart=new Function ("return false")
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </SCRIPT>

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

    Latest Awards:

    Default

    Removeing ring click just makes a site seem noobish, as it gives no advantage other than ******* a few people off.

    Useing a few pages of code to acheave it though, kinda proves your a complete and utter moron.
    If you going to do somthing stupid, at least do it properly.

    Add this in to your body oncontextmenu="return false;" so you have
    <body oncontextmenu="return false;">

    That will remove the right click context menu.

    Although i would advise. Dont use it, it makes your site look crap, and you look like a ****.

  6. #6
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Angry

    Quote Originally Posted by 01101101entor View Post
    Removeing ring click just makes a site seem noobish, as it gives no advantage other than ******* a few people off.

    Useing a few pages of code to acheave it though, kinda proves your a complete and utter moron.
    If you going to do somthing stupid, at least do it properly.

    Add this in to your body oncontextmenu="return false;" so you have
    <body oncontextmenu="return false;">

    That will remove the right click context menu.

    Although i would advise.
    well said dont do it

Posting Permissions

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