simple script needed..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Netghost

    simple script needed..

    Hey

    I've had a simple script that disabled my back button of my browser, but
    i've seem to have lost it.
    Someone who can give me the code, or where to find it? Same goes for
    disabling the right click of my mouse button...

    THX

    Netghost.


  • KS

    #2
    Re: simple script needed..

    This one disable right click but is not bulletproof since disable javascript
    will not run the script.

    function right(e) {
    if (navigator.appN ame == 'Netscape' &&
    (e.which == 3 || e.which == 2))
    return false;
    else if (navigator.appN ame == 'Microsoft Internet Explorer' &&
    (event.button == 2 || event.button == 3)) {
    alert("Ingen tilgang. Bruk menybaren.");
    return false;
    }
    return true;
    }

    document.onmous edown=right;
    document.onmous eup=right;
    if (document.layer s) window.captureE vents(Event.MOU SEDOWN);
    if (document.layer s) window.captureE vents(Event.MOU SEUP);
    window.onmoused own=right;
    window.onmouseu p=right;
    </SCRIPT>


    "Netghost" <c_sighen@hotma il.com> wrote in message
    news:lG0db.2894 $nl2.254840138@ hebe.telenet-ops.be...[color=blue]
    > Hey
    >
    > I've had a simple script that disabled my back button of my browser, but
    > i've seem to have lost it.
    > Someone who can give me the code, or where to find it? Same goes for
    > disabling the right click of my mouse button...
    >
    > THX
    >
    > Netghost.
    >
    >[/color]


    Comment

    • Hywel Jenkins

      #3
      Re: simple script needed..

      In article <lG0db.2894$nl2 .254840138@hebe .telenet-ops.be>,
      c_sighen@hotmai l.com says...[color=blue]
      > Hey
      >
      > I've had a simple script that disabled my back button of my browser, but
      > i've seem to have lost it.
      > Someone who can give me the code, or where to find it? Same goes for
      > disabling the right click of my mouse button...[/color]

      No such thing. If you want a crappy little script that fakes disabling
      right-click, here:


      --
      Hywel I do not eat quiche


      Comment

      • madeupname

        #4
        Re: simple script needed..

        Hywel Jenkins <hyweljenkins@h otmail.com> wrote in message news:<MPG.19dec 5e5b1e8db79896e 2@news.individu al.net>...[color=blue]
        > In article <lG0db.2894$nl2 .254840138@hebe .telenet-ops.be>,
        > c_sighen@hotmai l.com says...[color=green]
        > > Hey
        > >
        > > I've had a simple script that disabled my back button of my browser, but
        > > i've seem to have lost it.
        > > Someone who can give me the code, or where to find it? Same goes for
        > > disabling the right click of my mouse button...[/color]
        >
        > No such thing. If you want a crappy little script that fakes disabling
        > right-click, here:
        > http://hyweljenkins.co.uk/programmin...rightclick.php[/color]

        You stupid cunt.

        Comment

        Working...