السلام عليكم و رحمة الله و بركاته
يسرني أن أقدم لكم كود منع نسخ للزوار
صورة :-
مثال حي :-
http://www.nabd-islam.com/index.php
الكود :-
ضعه في header :-
.. النهاية ..كود:<!-- بداية هاك منع النسخ --> <if condition="$show['guest']"> <BODY onselectstart="return false"> <SCRIPT language=JavaScript1.2> if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() { event.cancelBubble = true event.returnValue = false; return false; } function norightclick(e) { if (window.Event) { if (e.which == 2 || e.which == 3) return false; } else if (event.button == 2 || event.button == 1) { event.cancelBubble = true event.returnValue = false; return false; } } document.oncontextmenu = nocontextmenu; document.onmousedown = norightclick; </SCRIPT> <SCRIPT LANGUAGE="JavaScript1.1"> <!-- Original: Martin Webb ( ( تم حذف البريد لأن عرضه مخالف لشروط المنتدى ) ) --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("لا يمكنك النسخ لا بعد التسجيل"); return false; } return true; } document.onmousedown=right; document.onmouseup=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=right; window.onmouseup=right; // End --> </script> </BODY> </if> <!-- نهاية هاك من النسخ -->
م
ن
ق
و
ل
:::
::
:
مواقع النشر (المفضلة)