Sağ Tuş Engelleme |
Tanım: Sitenize gelen bir ziyaretci sag tuşa tıklayıp bişeyinizi kopyalamaz. özelliklede resim |
Sağ Tuş Engelleme |
Tanım: Sitenize gelen bir ziyaretci sag tuşa tıklayıp bişeyinizi kopyalamaz. özelliklede resim |
<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></form> <a href="kodmarker.tr.gg">Html Kod
</a>
Tanım: Sitenize gelen bir ziyaretci sag tuşa tıklayıp bişeyinizi kopyalamaz. özelliklede resim
0 yorum:
Yorum Gönder