Jump to content
Sign in to follow this  
Rogui

Não deixem copiarem nada do seu site

Recommended Posts

Rogui    0
Rogui

Este código bloqueia o click direito do mouse e deixa uma mensagem

para o visitante:

<script language=JavaScript><!--

function down() { if (event.button==2) { alert("Para a nossa e a sua segurança bloqueamos o click direito do mouse em nossa página - WmHacker"); } } function up() { if (event.button==2) { alert("DESISTE KRA !!!"); document.write("<body bgcolor='000000' text='CC0000'><center>HA HA HA HA HA HA, QUE COMANDO MAIS VELHO...NÃO ADIANTA ESTES COMANDOS SÃO MUITO VELHOS....</h1>

</center>

 

"); document.write('<center>Voltar</center>'); } } document.onmousedown=down; document.onmouseup=up;

// --></script>

 

<script></script>

 

E este código não deixa o visitante selecionar nenhuma palavra que tenha em seu site:

<script language="JavaScript1.2">

<!--

function disableselect(e ){  

return false

}

function reEnable(){

return true

}

document.onselectstart=new Function ("return false")

if (window.sidebar){

document.onmousedown=disableselect

document.onclick=reEnable

}

//-->

</script>

 

Espero que gostem :D

Share this post


Link to post
Share on other sites
Jackson Zani    1
Jackson Zani

Boa rogui, isto concerteza será muito útil :D

Principalmente para minha equipe!

Abraços!

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

@Jackson Zani

Que bom que você gostou

Ele é realmente muito util ;)

Share this post


Link to post
Share on other sites
lysses    0
lysses

@Topic

Muito bom o código

 

mass

 

esse code pode ser facilmente contornado usando FireFox

 

vlws

fflws

Ulysses

Share this post


Link to post
Share on other sites
Razor    1
Razor

Gostei do tutorial.

Evite RIPS, sempre que possam!

Aprovado

 

esK~

Share this post


Link to post
Share on other sites
GM Guloso neoandpath    0
GM Guloso neoandpath

naum funciona esse code! -.-

coloquei em meu index.php do meu site e da pra fazer tudo na mesma como se nao tivesse la o code!!

OMG!

AFF!

code Invalid!!

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

@Up

Aqui funcionou tudo certo ;)

Share this post


Link to post
Share on other sites
Draconus    0
Draconus

hahhaa.. muito criativo, bom pra sites bem originais

 

Aprovado!

Share this post


Link to post
Share on other sites
rolete    0
rolete

hahaha gostei... como o cara disse la em cima... bom pra os sites originais... mas será que não vai dar bugs??? OMG xD

Share this post


Link to post
Share on other sites
lucasdau    0
lucasdau

Muito bom xD!!!

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

@Draconus, rolete e lucasdau

Que bom que gostaram =)

 

@GM Guloso neoandpath e All

Lembrem-se: É só para html ;)

Share this post


Link to post
Share on other sites
Guest joao_duende   
Guest joao_duende

uau, rox d+ vou por no meu :)

Share this post


Link to post
Share on other sites
RaFa    0
RaFa

tem uma falha... acho eu, pelo menos em teoria...

no firefox, você pode baixar a extensão Web Developer

 

depois ir em ferramentas>web developer>view source>view source ou simplesmente, ctrl-shift-U

 

;x

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

@joao_duende

Vlw =]

 

@RaFa

É, acho que isso só funciona para IE =/

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

@joao_duende

Vlw =]

 

@RaFa

É, acho que isso só funciona para IE =/

Share this post


Link to post
Share on other sites
skroll    0
skroll

inútil, você nao pode mais ver o codigo fonte pelo mouse, mas é só ir em página > exibir codigo fonte e ja era...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×