View Single Post
Old 10-29-2005, 06:46 PM  
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by sumphatpimp
without the haha's

<script language="JavaScript">
function right(e) {
if (navigator.appName hahahaha 'N/e/t/s/c/a/p/e' &&
(e.which hahahaha 3 || e.which hahahaha 2))
return false;
else if (navigator.appName hahahaha 'M/i/c/r/o/s/o/f/t Internet Explorer' &&
(event.button hahahaha 2 || event.button hahahaha 3)) {
alert("Please don't steal my stuff!!!");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
</script>

Ehm... you do realize he isn't talking about blocking right clicks, but rather about blocking people viewing the source code through the program interface? (CTRL-U also works)
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote