Disable User's Keyboard*
Code:
[code]function keypressed() {
alert("Sorry, but you can't do that.");
}
document.onkeydown=keypressed;
// End -->[/code]
This will keep the visitor from being able to
Disable User's Keyboard*
Code:
<">This will keep the visitor from being able to copy using "CTRL + C"!
*Note - This will not disable commenting! So don't worry about that.
Note After Testing* That's kinda cool... you can't use the keyboard at all unless a comment box is "selected" for lack of a better word. It'd get really anoying for someone like me though who uses nothing but keyboard shortcuts to navigate.
I noticed backspace key still goes back a page, even though you get the notice, so I tried to see if you could cheat your way around it... guess not.... lol. If you try to copy anyway, you get this...
---------------------------
Microsoft Internet Explorer
---------------------------
Sorry, but you can't do that.
---------------------------
OK