Here is a javascript that can be used in place of right click traps for you website. However, it might annoy your visitors due to the trouble of disabling the code.

<script LANGUAGE="JavaScript">
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times>=1) { bye() }
alert("Warning: Do not do that again");
times++ } }
function bye() {
alert("Forcast today: Freeze");
bye() }

Log in or register to write something here or to contact authors.