handbag whore (hollahbackgirl) wrote in component_help,
handbag whore
hollahbackgirl
component_help

yet another question...

how do you prevent people from right clicking on your page? I've tried


<script language=JavaScript>

// Right Click Window Close

// By tom.amai-wana.net

<!--

function click() {

if (event.button==2) {

window.moveTo(5000, 5000)

}

}

document.onmousedown=click

// -->

</SCRIPT>





but it doesn't work at all. I put it in the same place where my music code is. *sigh*
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 26 comments