deadlock Message Board
[ September Full List | Post A Reply ]

Re: Ready to Publish???
From whitedogr on 25 Sept '01
replying to Ready to Publish??? posted by Toni

To prevent copy/paste from right clicking and saving that way
(not secure, but stops many thefts from the average surfer),
copy/paste the js code below into Notepad:

<!--
var sorry="Email whitedogr@whitedogr.com for info!"

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(sorry);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(sorry);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->


(Change the email address to your own!) Save the new file as
woops.js If it saves as woops.txt, rename it to woops.js On your
web page, add <script language="javascript"
src="woops.js">
</script>

Good luck! This only stops new-bies, not everyone, from taking
your stuff.




Your Reply

*Your name:
*Message subject:
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)