Disabling clicks? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+2
CatherinaAndrea
JazeonX
6 posters

    Disabling clicks?

    JazeonX
    JazeonX
    Forumember


    Male Posts : 215
    Reputation : 1
    Language :  
    Location : Philippines

    Disabling clicks? Empty Disabling clicks?

    Post by JazeonX May 8th 2012, 6:11 pm

    How do I disable both right and left clicks in my forum?
    CatherinaAndrea
    CatherinaAndrea
    Forumember


    Female Posts : 230
    Reputation : 19
    Language : English, Russian, Dutch

    Disabling clicks? Empty Re: Disabling clicks?

    Post by CatherinaAndrea May 8th 2012, 6:26 pm

    I think you may want to disable only the right-click, cause how else are people gonna be able to click on links. But I wouldn't even suggest disabling the Right-Click ... (speaking from personal experience, had it on my own webby and it was annoying)

    Just put this code in a widget and put it on a page you would like to disable the Right-Click:
    Code:
    <SCRIPT TYPE="text/javascript">
    <!--
    //Disable right click script
    //visit http://www.rainbow.arch.scriptmania.com/scripts/
    var message="Sorry, right-click has been disabled";
    ///////////////////////////////////
    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>
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Disabling clicks? Empty Re: Disabling clicks?

    Post by kirk May 8th 2012, 6:29 pm

    I dont know anything for left click?
    But here is one for right click, Keep in mid if you add this it will not prevent people from seeing source code etc..
    Also that you will not be able to right click either.

    You will have to put this at the top your over all header template, hit save then go back and publish.

    Code:
    <script language=Javascript1.2> function ejs_nodroit() { alert('RIGHT CLICK DISABLED FOR THIS SITE');
        return(false); } document.oncontextmenu = ejs_nodroit; </script>

     
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Disabling clicks? Empty Re: Disabling clicks?

    Post by +Fusion- May 8th 2012, 8:29 pm

    CatherinaAndrea wrote:But I wouldn't even suggest disabling the Right-Click ... (speaking from personal experience, had it on my own webby and it was annoying)

    ikr, i think the only reason why people use this is to block people from access the scripts and forum images with inspect element
    nutsonlizards
    nutsonlizards
    Forumember


    Posts : 59
    Reputation : 14
    Language : London

    Disabling clicks? Empty Re: Disabling clicks?

    Post by nutsonlizards May 8th 2012, 8:59 pm

    yeah that is very true i have mine in a widget that way it set just for guests Smile
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Disabling clicks? Empty Re: Disabling clicks?

    Post by LGforum May 9th 2012, 12:03 am

    It never stops people getting the images or scripts or anything... for a start... I can disable javascript in my browser in less than 2 clicks... and many other people can too.

    What your adding to your forum is amazingly pointless and amazingly silly.

    Not to mention, both those codes are amazingly outdated, where the heck did you get those from? Razz
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Disabling clicks? Empty Re: Disabling clicks?

    Post by kirk May 9th 2012, 12:15 am

    LGforum wrote:

    Not to mention, both those codes are amazingly outdated, where the heck did you get those from? Razz

    lol Razz Razz Razz
    The code i got was from here probably posted a couple years ago,
    I just noticed the code i put up, if you right click twice it comes up with a option to disable it. (silly).. i think it may be something that was added to the new firefox, idk... ???

    Anyway whatever the case, To each is own if they want it added or not, Just be sure to give us the heads up so we can mark this as solved and move to archives. Very good

    Thanx
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Disabling clicks? Empty Re: Disabling clicks?

    Post by +Fusion- May 9th 2012, 12:18 am

    LGforum wrote:It never stops people getting the images or scripts or anything... for a start... I can disable javascript in my browser in less than 2 clicks... and many other people can too.

    What your adding to your forum is amazingly pointless and amazingly silly.

    Not to mention, both those codes are amazingly outdated, where the heck did you get those from? Razz

    Lol,

    -And Rideem3 i think his problem is solved cuz the disable right clicks code is posted and there is no disable left clicks code. that would be too silly to have that code on your forum
    JazeonX
    JazeonX
    Forumember


    Male Posts : 215
    Reputation : 1
    Language :  
    Location : Philippines

    Disabling clicks? Empty Re: Disabling clicks?

    Post by JazeonX May 9th 2012, 8:07 pm

    Solved
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Disabling clicks? Empty Re: Disabling clicks?

    Post by kirk May 9th 2012, 8:29 pm

    JazeonX wrote:Solved
    Topic Solved & Locked