[PEDIDO] Codigo Ter 26 Mar 2013 - 15:33
Queria colocar um sistema que ninguém pegue os codigos do meu fórum , será que vocês poderiam me ajudar?
Desde já agradeço.
Desde já agradeço.
<script language=JavaScript>
<!--
var message="Cópia não permitida!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
$(document).ready(function(){
$(document).keydown(function(e){
var tecla=window.event.keyCode;
if (tecla==123){
event.returnValue=false;}
var ctrl=window.event.ctrlKey;
if(ctrl && e.which == 85){
return false;
}
});
});
Não, acho que não tem como bloquear o /css.forumGustavo H. escreveu:Isso evita /css.forum?
Tópico inativo por mais de 7 dias; Bloqueado e movido |
|
|