Script anti-copie
Fermé
rul
-
24 mai 2008 à 16:10
zoby44 Messages postés 817 Date d'inscription vendredi 3 novembre 2006 Statut Membre Dernière intervention 7 avril 2010 - 9 juin 2009 à 02:09
zoby44 Messages postés 817 Date d'inscription vendredi 3 novembre 2006 Statut Membre Dernière intervention 7 avril 2010 - 9 juin 2009 à 02:09
A voir également:
- Script anti-copie
- Lien copie - Forum Android
- Copie cachée - Guide
- Anti slash ✓ - Forum Programmation
- Script vidéo youtube - Guide
- Lien copié - Forum Android
3 réponses
sov^36
Messages postés
3616
Date d'inscription
jeudi 5 avril 2007
Statut
Contributeur
Dernière intervention
8 juillet 2008
717
24 mai 2008 à 16:18
24 mai 2008 à 16:18
la seule methode efficace : tu fais ton site et tu le mets pas en ligne.
zoby44
Messages postés
817
Date d'inscription
vendredi 3 novembre 2006
Statut
Membre
Dernière intervention
7 avril 2010
199
9 juin 2009 à 02:09
9 juin 2009 à 02:09
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é.
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é.
27 nov. 2008 à 11:25
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>
9 juin 2009 à 00:23