طلب تعديل كود النسخ

2 مشترك

اذهب الى الأسفل

ãÚáæãÉ طلب تعديل كود النسخ

مُساهمة من طرف AHMED SAME الثلاثاء 22 أبريل 2014 - 16:56

الكود:
body onbeforeprint="onbeforeprint()" onafterprint="onafterprint()"onselectstart="return false" oncontextmenu="return false"> <script language=JavaScript1.2> function ejs_nodroit() { alert('عذرا... الاعضاء فقط من يستطيع النسخ ... سجل في المنتدي اولا'); return(false); } document.oncontextmenu = ejs_nodroit; </script>[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
<script type="text/javascript">[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 var omitformtags=["input", "textarea", "select"][size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 function disableselect(e){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 for (i = 0; i < omitformtags.length; i++)[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 if (omitformtags[i]==(e.target.tagName.toLowerCase()))[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 return;[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 return false[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
 }[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
function reEnable(){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
return true[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
function noSelect(){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
if (typeof document.onselectstart!="undefined"){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
document.onselectstart=new Function ("return false")[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
if (document.getElementsByTagName){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
tags=document.getElementsByTagName('*')[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
for (j = 0; j < tags.length; j++){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
for (i = 0; i < omitformtags.length; i++)[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
if (tags[j].tagName.toLowerCase()==omitformtags[i]){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
tags[j].onselectstart=function(){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
document.onselectstart=new Function ('return true')[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
if (tags[j].onmouseup!==null){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
var mUp=tags[j].onmouseup.toString()[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
mUp='document.onselectstart=new Function (\'return false\');\n'+mUp.substr(mUp.indexOf('{')+2,mUp.lastIndexOf('}')-mUp.indexOf('{')-3);[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
tags[j].onmouseup=new Function(mUp);[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
else{[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
tags[j].onmouseup=function(){[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
document.onselectstart=new Function ('return false')[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}}}}}}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
else{[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
document.onmousedown=disableselect[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
document.onmouseup=reEnable[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
}[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
window.onload=noSelect;[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
</script>[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]
</script>[size=15][color=#002bff][font=Traditional Arabic][b][/b][/font][/color][/size]

الكود شغال على كل المتصفحات ويمنع النسخ

لكن مشكلة بسيطة وهي ظهور قسم من كتابات الكود في متصفح فايرفيكس

ارجو حلها وهذا رابط المنتدى

http://sadearth.7forum.net/


عدل سابقا من قبل AHMED SAME في الثلاثاء 22 أبريل 2014 - 17:42 عدل 1 مرات
AHMED SAME
AHMED SAME
 
 

ذكر
عدد المساهمات : 215
معدل النشاط : 4121
السُمعة : 2

http://www.bl3ck.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

ãÚáæãÉ رد: طلب تعديل كود النسخ

مُساهمة من طرف stones الثلاثاء 22 أبريل 2014 - 17:16

تفضل
الكود:
<script language="JavaScript1.2"> function ejs_nodroit() { alert('عذرا... الاعضاء فقط من يستطيع النسخ ... سجل في المنتدي اولا'); return(false); } document.oncontextmenu = ejs_nodroit; </script><span style="font-size: 15px; line-height: normal"><span style="color: rgb(0, 43, 255);"><span style="font-family: Traditional Arabic;"><strong></strong></span></span></span><span style="font-size: 15px; line-height: normal"><span style="color: rgb(0, 43, 255);"><span style="font-family: Traditional Arabic;"><strong></strong></span></span></span><span style="font-size: 15px; line-height: normal"><span style="color: rgb(0, 43, 255);"><span style="font-family: Traditional Arabic;"><strong></strong></span></span></span><script type="text/javascript"><span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 var omitformtags=["input", "textarea", "select"]<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 function disableselect(e){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 for (i = 0; i < omitformtags.length; i++)<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 if (omitformtags[i]==(e.target.tagName.toLowerCase()))<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 return;<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 return false<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
 }<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
function reEnable(){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
return true<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
function noSelect(){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
if (typeof document.onselectstart!="undefined"){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
document.onselectstart=new Function ("return false")<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
if (document.getElementsByTagName){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
tags=document.getElementsByTagName('*')<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
for (j = 0; j < tags.length; j++){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
for (i = 0; i < omitformtags.length; i++)<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
if (tags[j].tagName.toLowerCase()==omitformtags[i]){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
tags[j].onselectstart=function(){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
document.onselectstart=new Function ('return true')<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
if (tags[j].onmouseup!==null){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
var mUp=tags[j].onmouseup.toString()<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
mUp='document.onselectstart=new Function (\'return false\');\n'+mUp.substr(mUp.indexOf('{')+2,mUp.lastIndexOf('}')-mUp.indexOf('{')-3);<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
tags[j].onmouseup=new Function(mUp);<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
else{<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
tags[j].onmouseup=function(){<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
document.onselectstart=new Function ('return false')<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}}}}}}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
else{<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
document.onmousedown=disableselect<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
document.onmouseup=reEnable<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
}<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
window.onload=noSelect;<span style="font-size: 15px; line-height: normal"><font color="#002bff"><font face="Traditional Arabic"><strong></strong></font></font></span>
</script><span style="font-size: 15px; line-height: normal"><span style="color: rgb(0, 43, 255);"><span style="font-family: Traditional Arabic;"><strong></strong></span></span></span><span style="font-size: 15px; line-height: normal"><span style="color: rgb(0, 43, 255);"><span style="font-family: Traditional Arabic;"><strong></strong></span></span></span>
stones
stones
 
 

ذكر
عدد المساهمات : 7462
معدل النشاط : 16215
السُمعة : 414

http://stones.arab.st/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

ãÚáæãÉ رد: طلب تعديل كود النسخ

مُساهمة من طرف AHMED SAME الثلاثاء 22 أبريل 2014 - 17:25

اخي شكراً تم تعديل الكود

لكنة صار يعمل النسخ على متصفح فايرفيس
AHMED SAME
AHMED SAME
 
 

ذكر
عدد المساهمات : 215
معدل النشاط : 4121
السُمعة : 2

http://www.bl3ck.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

ãÚáæãÉ رد: طلب تعديل كود النسخ

مُساهمة من طرف stones الثلاثاء 22 أبريل 2014 - 17:50

نعم من الخيارات المتصفح من اعلى
stones
stones
 
 

ذكر
عدد المساهمات : 7462
معدل النشاط : 16215
السُمعة : 414

http://stones.arab.st/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

ãÚáæãÉ رد: طلب تعديل كود النسخ

مُساهمة من طرف AHMED SAME الثلاثاء 22 أبريل 2014 - 18:41

اخي لم افهم عليك

هل يمكن منع الزوار من النسخ 

عن طريق فايرفيكس
AHMED SAME
AHMED SAME
 
 

ذكر
عدد المساهمات : 215
معدل النشاط : 4121
السُمعة : 2

http://www.bl3ck.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى