| 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> |
no click right mouse
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 
i want to block visitor to view my source. actually no right click quite usefull, but they still can view souce by (View->Source). is there a way to freeze the menu like (File, Edit, ... , Help, etc). I had already seen something like this once, but i don't know how. does anyone know?
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
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?
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
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?
thnx for the script
i needed to know that
i needed to know that
