Puan
113
Çözümler
4
- Konum
- Adana
- Mesajlar
- 342.539
- Katılım
- 27 Aralık 2022
- Çözümler
- 4
- Tepkime puanı
- 64
- Yaş
- 37
- Puan
- 113
- Web sitesi
- forumdaslar.com
- Tuttuğu Takım
-
Beşiktaş
- Meslek
- Webmaster
- @FORUMDASLAR
Web Sayfasındaki Tüm Yazıların Ve Resimlerin Kopyalanmasını Engellemek
<html>
<head>
**********
document.addEvent('contextmenu',function(e){
e=new Event(e);
//alert('success');
e.stop();
});
function selectnone() {
document.body.ondrag = function () { return false; };
document.body.onselectstart = function () { return false; };
if(window.ie || window.opera){document.body.setProperty("unselecta ble","on");}
if(window.gecko){document.body.setStyle("MozUserSe lect","none");}
if(window.webkit){document.body.setStyle("KhtmlUse rSelect","none");}
}
</script>
</head>
<body onload="selectnone()">
bu yazılar mouse ile seçilip kopyalanamaz
</body>
</html>
alıntı
<html>
<head>
**********
document.addEvent('contextmenu',function(e){
e=new Event(e);
//alert('success');
e.stop();
});
function selectnone() {
document.body.ondrag = function () { return false; };
document.body.onselectstart = function () { return false; };
if(window.ie || window.opera){document.body.setProperty("unselecta ble","on");}
if(window.gecko){document.body.setStyle("MozUserSe lect","none");}
if(window.webkit){document.body.setStyle("KhtmlUse rSelect","none");}
}
</script>
</head>
<body onload="selectnone()">
bu yazılar mouse ile seçilip kopyalanamaz
</body>
</html>
alıntı