Script anti-copie

rul -  
zoby44 Messages postés 868 Statut Membre -
Bonjour,
Je cherche un script qui fait que le clic droit n'a pas d'effet et en même temps que Ctrl+C ne marche pas non plus.
Merci
A voir également:

3 réponses

sov^36 Messages postés 3624 Date d'inscription   Statut Contributeur Dernière intervention   716
 
la seule methode efficace : tu fais ton site et tu le mets pas en ligne.
1
heelo
 
<script language="Javascript">
if (top.frames.length!=0) top.location=self.document.location;
</script>
<script language="Javascript">
window.moveTo(0,0);
if (document.all) {
window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers) {
if (window.outerHeight<screen.availHeight||window.outerWidth<screen.availWidth){
window.outerHeight = screen.availHeight;
window.outerWidth = screen.availWidth;
}
}
</script>
<script language="Javascript">
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
</script>
<script language="Javascript">
function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
<script language="Javascript">
<!--
/*
Highlight and Copy form element script- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com<br>
for the onMouseOver : www.arkonide.com<br>
*/
//specify whether contents should be auto copied to clipboard (memory)
//Applies only to IE 4+
var copytoclip=1
function HighlightAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&©toclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
<script language="Javascript">
/*
desactiver Ctrl Alt - disable Ctrl Alt
*/
function alert_keycode(){ if (event.keyCode == 17 || event.keyCode == 18) { alert("c'est pas mal..non...") } } document.onkeydown=alert_keycode
</script>
<script language="Javascript">
curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
//-->
</script>
0
ketronhabib > heelo
 
comment télécharger le stick anti copie de cubase sx3?
0
zoby44 Messages postés 868 Statut Membre 199
 
Salut, dans l'absolu, ça ne sert a rien de désactiver le clic droit (ou CTRL+C). Il suffit de désactiver javascript pour pouvoir piocher les images.
Mais si tu veux juste empêcher le téléchargement d'image, tu peux utiliser un script php pour créer une nouvelle image (avec marqué "spécimen" dessus un peu comme "fotolia") en utilisant gd2 de php -> http://fr.php.net/manual/fr/book.image.php
Enfin voila, amuse toi bien. Mais sache que javascript ne pourras JAMAIS t'aider pour les problèmes de sécurité.
1
rul
 
xd
0