View Full Version : Right Click Java Please Help
Raptor
05-05-2000, 04:00 PM
ime wondering if any body can help me please i am not too up on javva script i downloaded the java script for the no right click routine and i suppose all you have to do is cut and paste it in to your homepage well if this is wrong please somebody tell me what i have done is cut and paste the java script in to the top of my index.html page at the top and when icheck it in the browser it still letss me right click ???????do i have to have some sot of applet or some thing?? thanks in advance RaPtOr
Hi, Please do not cross post your messages on these boards, your problem has been answered here.
http://talkboard.123webmaster.com/ubbhtml/Forum12/HTML/000005.html
Ian
------------------
ian@123webmaster.com
Head Guide 123Webmaster.com (http://www.123webmaster.com)
joltmander
12-20-2000, 09:22 PM
Hi I can be of help
Put between <body> and </body> tags
<script language=JavaScript>
<!--
/*
Disable right mouse click Script (By Crash @ http://walk.to/crash)
Submitted to and permission granted to Dynamicdrive.com to feature script in it's archive
For full source code to this script and 100's more, visit http://dynamicdrive.com
*/
var message="Function Disabled";
function click(e) {
if (document.all) {
if (event.button==2| |event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
whkoh
12-21-2000, 04:53 AM
Anti right click scripts are jokes for anyone with even a bit of HTML knowledge. You can (left)click and then quickly right-click to break the script.
------------------
Koh Wei Han
Network Engineer
Contact: whkoh@apexmail.com , whkoh@mailandnews.com , whkoh@020.co.uk
Guest
12-28-2000, 05:38 PM
Never thought about that (quick left-clicking)...
thanks for the tip.
Guest
01-03-2001, 02:11 PM
See how I found out the source of this page:
http://run.to/Ria
You can find the source here: http://www.htmlforums.com/ubbhtml/Forum6/HTML/000028.html (source of the page that pops-up and has a navaigation menu when you right-click)
-----------------
There were 2 ways to find it out:
1. Remember that each page has a url address. So, its saved in your history. Copy the address of the pop-up window, and paste it in a normal browser...then go to 'view..source'. (the right-click menu will still work)
2.There is a javascript script I got that will find the source of any webpage.
Guest
01-03-2001, 02:14 PM
Sorry you can find it here: http://www.htmlforums.com/ubbhtml/Forum12/HTML/000252.html
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.