_ Right click disabler _ (not foolproof) _
SUPER EASY CODE!1 line is all it takes to stop users from either saving pictures on your site or viewing source.disables the right click. See the screen capture for the alert that comes up.Very easy to customize this alert...into, for example a copyright notice. Enjoy....LOTS more to come (note : this is not foolproof - nothing is...)
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
<html>
<head>
<title>Just try to right click on me</title>
</head>
<script>
<!-- JavaScript Start -----
function click() {if (event.button==2) { alert('Disabled') } } document.onmousedown=click
----- JavaScript End ------>
</script>
<body>
Just try to right click
</body>
</html>
Upload
Original Comments (3)
Recovered from Wayback Machine