Script de Bloqueio muito bom, sem mensagens chatas e não seleciona texto

  



Esconder código-fonte

<!-- BE
function blockError(){return true;}
window.onerror = blockError;
//-->

<!-- DS
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")

if (window.sidebar){

document.onmousedown=disableselect

document.onclick=reEnable
}
//-->

<!-- BD
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 

function nocontextmenu() 
{ 
event.cancelBubble = true 
event.returnValue = false; 

return false; 
} 

function norightclick(e) 
{ 
if (window.Event) 
{ 
if (e.which == 2 || e.which == 3) 
return false; 
} 
else 
if (event.button == 2 || event.button == 3) 
{ 
event.cancelBubble = true 
event.returnValue = false; 
return false; 
} 

} 
if (document.layers) { 
document.captureEvents(Event.MOUSEDOWN); 
} 
document.oncontextmenu = nocontextmenu; 
document.onmousedown = norightclick; 
document.onmouseup = norightclick; 
//-->

Scripts recomendados

Calendario em javascript

Horóscopo em JavaScript

criando uma tabela html

Gerador de exercícios para matemática

Carregador 1.0


  

Comentários
[1] Comentário enviado por removido em 15/01/2005 - 11:06h

muito bom

[2] Comentário enviado por coracaov em 13/02/2007 - 14:54h

ae como faço para baixar não toda vez que tento não baixa


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts