[Help] I need code for cant right click on website

MorgaN

Active Member
Joined
Apr 23, 2008
Messages
709
Reaction score
101
Hi all i need little help , whos know what code is for cant press right click on site.
help:busted_cop:
 

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
654
Here it is (in java) ;)
Code:
<script language=JavaScript>

var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

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

</script>
It's realy easy ...
HF! :cheezy:
 

Mephisto

New Member
Joined
Apr 10, 2008
Messages
451
Reaction score
240
i dont know why u need this script.Even on site with this option i can use mouse button 2 and that dont stop other people to see your html code
 

asdf

New Member
Joined
Apr 25, 2008
Messages
5
Reaction score
0
where is this thing copy and paste :2:
 

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
654
It can be copy-pasted everywhere, but look carefuly, so u don't paste it between tags (<? .... ?>), for example at the top of the page, so it will be the 1st thing written when u open, for example, index.php ;)
 

MorgaN

Active Member
Joined
Apr 23, 2008
Messages
709
Reaction score
101
and what code i must use for cant see my html index code ?
 

Mephisto

New Member
Joined
Apr 10, 2008
Messages
451
Reaction score
240
Nothink...if they somehow cant see your html code they have print screen so...
 

Mephisto

New Member
Joined
Apr 10, 2008
Messages
451
Reaction score
240
try this
encrypt html code only html if in your html code have some javascript function they will not work
 

NoFeaR

Well-Known Member
Joined
Feb 1, 2009
Messages
738
Reaction score
291
Ako iska Nqkoi da mi opravi ServeRa Na Mu Da mi pi6e po skype
deko.ludaka :)
Престани да спамиш в темите ве идиот малък.
 

Similar threads