<script>
browserName = navigator.appName
browserVersion = parseInt(navigator.appVersion)
document.onmousedown = checkforRightMouseButtonClick;
if (browserVersion<5 && browserName=="Netscape")
{
window.onmousedown = checkforRightMouseButtonClick;
}
function rightClickPressed()
{
alert("Bu Sitede Sağ Tıklamak Yasaktır!");
}
function checkforRightMouseButtonClick(mouseEvent)
{
if ( ((browserName=="Microsoft Internet Explorer") && (event.button >1)) ||
((browserName=="Ne tscape") && (mouseEvent.which > 1)) )
{
rightClickPressed()
return false;
}
else
return true;
}
</script>