HELPME-PLZ
04-11-2003, 12:57 PM
hey i'm new here and i was wondering, if anyone know the code for no rigthclicking? i have a homepage .and someone took my pic off of it.i would like to use the code with the popup message. someone plz help me
|
Click to See Complete Forum and Search --> : no rigthclicking HELPME-PLZ 04-11-2003, 12:57 PM hey i'm new here and i was wondering, if anyone know the code for no rigthclicking? i have a homepage .and someone took my pic off of it.i would like to use the code with the popup message. someone plz help me reyjking1975 04-11-2003, 01:00 PM <SCRIPT language="JavaScript"> <!-- var message="place message here"; function click(e) { if (document.all) { if (event.button==2||event.button==3) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </SCRIPT> AdamGundry 04-11-2003, 01:30 PM You can do this, but it's best not to use a no-rightclick message script, as they are annoying to the vast majority of users who won't steal your content, and ineffective against anyone vaguely knowledgable. It is very easy to circumvent such a script (e.g. the "context menu" button on some keyboards). I you want to do something like this, use a "return false;" to prevent the menu displaying without an alert. A possible solution to images being stolen is the use of watermarks, but they can be removed. Legal action is the only really effective means of protecting your work. Adam HELPME-PLZ 04-11-2003, 03:36 PM THANKS I HOPE THAT CODE WORKS . I REALY WANNA STOP PPL FROM STEALING OFF MY PAGE.P.S IF THAT CODE DOESNT WORK IS THERE ANYTHING ELSE I CAN DO LIKE PUT SOME POPUPS? webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |