STEFANYPUBS
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.


bonnes vacances
 
AccueilAccueil  PortailPortail  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  Connexion  
-21%
Le deal à ne pas rater :
LEGO® Icons 10329 Les Plantes Miniatures, Collection Botanique
39.59 € 49.99 €
Voir le deal

 

 Script anti copie

Aller en bas 
AuteurMessage
[P]aulineetoile
fondatrice admin
fondatrice admin
[P]aulineetoile


Nombre de messages : 461
Age : 37
Date d'inscription : 01/03/2007

Script anti copie Empty
MessageSujet: Script anti copie   Script anti copie Empty26.07.07 11:01

Script anti copie




Ce script permet de bloquer les touches CTRL+A et le click droit d'une page .
Ce script est à insèrer entre les balises <body> et </body> .
Code:
<script>
if (top.frames.length!=0) top.location=self.document.location;
</script>
<script>
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>
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>
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) { http://v2.0
  window.open(theURL,winName,features);
}
</script>
<script>
<!--
/*
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&&copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}
//-->
</script>
<script>
/*
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>
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>

Revenir en haut Aller en bas
http://ucberkeley.bestdiscussion.net/index.htm
 
Script anti copie
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» chercher un script

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
STEFANYPUBS :: Internet pratique :: trucs et astuces :: Internet-
Sauter vers:  
Ne ratez plus aucun deal !
Abonnez-vous pour recevoir par notification une sélection des meilleurs deals chaque jour.
IgnorerAutoriser