FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


no click right mouse





thaonguyenxanh
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>
theSpike
The best one its a Java Script who when we clik right mouse nothing do. Cuz Whit a script with message, if you press Right mousse and Enter you stop the script Wink
salvojure
I was at a time actively looking for solution to hide scripts. I read that stopping right-click is useless cos' we can always disable javascript and the right-click will work.

As for view source, some folks go ahead to include a large space before the first line of the code so that when we view it, we think it's empty. There was one site I went that showed only a message saying that my IP address has been recorded. Till now I don't know what was done to achieve that Very Happy

In my search for solution to css the scrollbar, I read some views that the scrollbar is part of the browser and thus the user's property and webmaster should not have the right to change the look of the browser. I learnt to agree with that, so by "freezing" the menu, I think we'll be abusing the rights of a webmaster..

IMHO, the "best" way to protect your code is to add a copyright statement to it and the "best" way for your copyright not to be infringed is to not use it. Have we not heard that the internet has no secrets?
Cryptz
thnx for the script Smile

i needed to know that Razz
Related topics
Windows Tips&tricks!
How to burn CLONEs
Hurricane set to lash New Orleans
website in flash
Gimp - Sig making:N00b to pro!(finally finished)
Windows XP the best?
Newbie to the Extreme, Help with uploading website?
do you know is it possoible to hide view source menu?
Windows trouble
WEBSITE HELP NEEDED!
What is your favorite MMORPG game?
Download problem
Need Help With CSS
Mighty Mouse with Mighty Problem HELP
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.