randomsite
hello please log in or register <form action="www.pagespk/login.forum" method="post"><table cellspacing="1" cellpadding="3" border="0"><tr><td width="45%" align="right"> Username:</td><td><input type="text" name="username" size="25" maxlength="40" /></td></tr><tr><td align="right">Password:</td><td><input type="password" name="password" size="25" maxlength="32" /></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input type="checkbox" name="autologin" checked="true" /></td></tr><tr align="center"><td colspan="2"><input type="submit" class="mainoption" name="login" value="Log in" /></td></tr></table></form>

randomsite

style>body {cursor: url (http://cur.cursors-4u.net/toons/images8/too754.gif);} a {cursor: url (http://cur.cursors-4u.net/toons/images5/too426.gif);}
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog inRS arcade
Home
Portal
Members
Groups
Navigation Bar
Text HereOther Text
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
translate this page

Search
 
 

Display results as :
 
Rechercher Advanced Search
Top posters
Mystic_gohan (75)
 
Mystic_gotenks (20)
 
The Legendary Daxterdude (17)
 
Fred100 (3)
 
Latest topics
» .....................
Tue Nov 03, 2009 6:55 pm by Mystic_gohan

» annnnnnnnnnnnnnn test
Mon Sep 28, 2009 12:16 pm by Mystic_gohan

» test...
Sat Sep 26, 2009 11:46 pm by Mystic_gohan

» disabling right click
Thu Sep 24, 2009 4:27 pm by Mystic_gohan

» Reputation Testing???
Mon Sep 21, 2009 7:10 pm by Fred100

» highscore for games
Wed Sep 16, 2009 7:25 pm by Mystic_gohan

» adding a direct chatbox
Fri Sep 11, 2009 9:17 am by Mystic_gohan

» Html hump buttons [written by ROno]
Thu Sep 10, 2009 7:02 pm by Mystic_gohan

» games for your forum
Thu Sep 10, 2009 6:49 pm by Mystic_gohan

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Affiliates
free forum
 


time
clock1

 

 disabling right click

View previous topic View next topic Go down 
Author Message
Mystic_gohan
Founder
Founder


Posts : 75
RS points : 15051
your rating by users : 1
Join date : 2009-08-21

PostSubject: disabling right click   Sat Sep 19, 2009 9:17 pm




document.onmousedown=click
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times>=1) { bye() }
alert("No right clicking!!!!!! don't do it again..");
times++ } }
function bye() {
alert("I said NO right clicking! click ok to exit LMAO!");
bye() }


add this to HTML page or home page message .
Back to top Go down
View user profile http://randomsite.darkbb.com
Mystic_gohan
Founder
Founder


Posts : 75
RS points : 15051
your rating by users : 1
Join date : 2009-08-21

PostSubject: Re: disabling right click   Thu Sep 24, 2009 4:27 pm

if this code is not working try this :
Code:
<script language=Javascript>
<!--

//Disable right mouse click script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="YOUR MESSAGE HERE .";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
Back to top Go down
View user profile http://randomsite.darkbb.com
 

disabling right click

View previous topic View next topic Back to top 
Page 1 of 1
rating system

Permissions in this forum: You cannot reply to topics in this forum
randomsite :: tricks and tips -