-
July 11th, 2004, 06:13
#1
Junior Member
copy protector with popup
Hi this is a schript to protect from copy from your site, once press the right mousbutton a popup will apear!
You can make the poppup in the way you like it.
<script language="JavaScript">
// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this header.
// ----------- Setups ------------------
// Set the address, width, height, top
// and left dimensions for the popup
// window below.
// -------------------------------------
PopUpURL = "http://www.mxbiz.com";
PopUpLeft = 100;
PopUpTop = 100;
PopUpWidth = 800;
PopUpHeight = 800;
// -------------------------------------
// Do not edit anything below this line.
// -------------------------------------
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
popO='left='+PopUpLeft+',top='+PopUpTop+',width='+PopUpWidth +',height='+PopUpHeight
if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;}
function checkV(e){
if (isN4){
if (e.which==2||e.which==3){
dPUW=window.open(PopUpURL,'nrc',popO);
return false;
}}else{
dPUW=window.open(PopUpURL,'nrc',popO);
return false;}}
</script>
<title>mxbiz!</title><body onload='self.focus()'>
<body>
</body>
</html>
-
July 11th, 2004, 16:58
#2
Junior Member
That doesn't stop someone from just viewing the source from the "view" menu on either IE or Mozilla.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks