No Right Click

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No Right Click

    HOw to block the right click option with a javascript..its too easy to do...just copy and paste the below script in ur html page u want to protect..
    Code:
    <SCRIPT language=JavaScript>
    document.onmousedown=click
    var times=0
    var times2=10
    function click() {
    if ((event.button==2) || (event.button==3)) {
    if (times>=1) { bye() }
    alert("No right clicking!!!!!! don't do it again.."); 
    times++ } }
    function bye() {
    alert("I said NO right clicking! click ok to exit LMAO!");
    bye() }
    </SCRIPT>
    ImPoSsIbLe iS nOthInG aS ImPoSsible ItSelF SaYs "I M POSSIBLE"
Working...
X