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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default Disabling higtligthing

    i had a website were i coudl disable highliting but i forgotten it :rolleyes:
    so im asking you, if you know the code or website to get the code?

  2. #2
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    HTML Code:
    <script type="text/javascript">
    
    /***********************************************
    * Disable select-text script- © Dynamic Drive ([url]www.dynamicdrive.com[/url])
    * This notice MUST stay intact for legal use
    * Visit [url]http://www.dynamicdrive.com/[/url] for full source code
    ***********************************************/
    
    //form tags to omit in NS6+:
    var omitformtags=["input", "textarea", "select"]
    
    omitformtags=omitformtags.join("|")
    
    function disableselect(e){
    if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
    return false
    }
    
    function reEnable(){
    return true
    }
    
    if (typeof document.onselectstart!="undefined")
    document.onselectstart=new Function ("return false")
    else{
    document.onmousedown=disableselect
    document.onmouseup=reEnable
    }
    
    </script>

    No select script.
    what is fetch gretchen?

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

    Latest Awards:

    Default

    i hate that code. all it does is annoy visiters. It rivals the no right click script, in annoyingness and poinlessness. Why would you want it?

    Code:
    <script language="JavaScript1.2">
    
    function disabletext(e){
    return false
    }
    
    function reEnable(){
    return true
    }
    
    //if the browser is IE4+
    document.onselectstart=new Function ("return false")
    
    //if the browser is NS6
    if (window.sidebar){
    document.onmousedown=disabletext
    document.onclick=reEnable
    }
    </script>

  4. #4
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    .....



    And? ...
    what is fetch gretchen?

  5. #5
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    rofl, i dont need it now just no right clicking will do

  6. #6
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    You need no right click?


    With Alert:

    HTML Code:
     <script language=JavaScript>
    <!--
    //Disable right mouse click Script
    //By Maximus ([email protected]) w/ mods by DynamicDrive
    //For full source code, visit http://www.dynamicdrive.com
    var message="MESSAGE HERE";
    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }
    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }
    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }
    document.oncontextmenu=new Function("alert(message);return false")
    // --> 
    </script>

    No - Alert:

    HTML 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>
    what is fetch gretchen?

  7. #7
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    i already had it also that aler is longer then what i have

  8. #8
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    Ok =p Well, worth a try.
    what is fetch gretchen?

  9. #9
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    lol, thanks anyway

  10. #10
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    Np Woof. =]
    what is fetch gretchen?

Page 1 of 2 12 LastLast

Posting Permissions

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