חסימת קליק ימני לחלוטין באתרים! סופיקחו את הסקריפט הזה, וזהוא אין לזה אפשרות עקיפה
שתוכל להראות את התפריט בקליק ימני!
p11
-------------------------------------------------
<script language=''JavaScript1.2''>
/*
No Right Click
by: Prowler
*/
if (window.Event) // Only Netscape will have the CAPITAL E.
document.captureEvents(Event.MOUSEUP); // catch the mouse up event
function nocontextmenu() // this function only applies to IE4, ignored otherwise.
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e) // This function is used by all others
{
if (window.Event) // again, IE or NAV?
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
</script>
-----------------------------------------------------
p22
בהצלחה.
http://rotter.net/forum/User_files/3c28981f0f5642b5.jpg