منتديات المسلم
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.



 
الرئيسيةالبوابةأحدث الصورالتسجيلدخول

 

 Script to disable the right-click

اذهب الى الأسفل 
2 مشترك
كاتب الموضوعرسالة
moslem




عدد الرسائل : 440
تاريخ التسجيل : 02/08/2006

Script to disable the right-click Empty
مُساهمةموضوع: Script to disable the right-click   Script to disable the right-click Emptyالخميس 30 نوفمبر - 1:36

This script has been tested on my test forum

Here is the code :





Code:

<script> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>

You can change the "Right-click is forbidden !!!" by something else as you wish.

This is to be put in Admin Panel > General Admin > Configuration > Site description


CAUTION : This right-click disabling script can be easily bypassed by people who have good knowledge in computers, so it is not the ultimate protection against theft. The best way to protect your forum from design theft is to formally deposit a copyright.

NOTICE : If you have many scripts to put in the site description, you can use SanDream's Script Generator to gather several script into one code : http://help.editboard.com/viewtopic.forum?t=317
More, the script generator's right-click disable script is disabled when you write a message and is enabled when you navigate through the forum pages.
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://almuslem.yoo7.com
عبدالله




عدد الرسائل : 603
تاريخ التسجيل : 14/09/2006

Script to disable the right-click Empty
مُساهمةموضوع: رد: Script to disable the right-click   Script to disable the right-click Emptyالإثنين 4 ديسمبر - 23:31

jazak :
barak :
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
Script to disable the right-click
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» البرنامج Right Click Image Converter

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتديات المسلم :: اللغه الانجليزيه :: All Other English Topics-
انتقل الى: