|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Dec 2001
Posts: 529
|
How do you do this...?
How do you prevent people from pressing certain Keys on their keyboard using javascript?
I want to popup a URL everytime they hit (ctrl or a) |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Mar 2002
Posts: 323
|
What do you mean? You can't stop people from pressing any key on their keyboard.
But I know what you mean. You can't stop them from doing certain combinations like CTRL-ALT-DEL, which is part of Windows and always wins over anything the browser does (and JS is even lower on the pecking order than the browser itself). Possibly you can do something when they ONLY hit "a" however. I'm positive nothing can be done with the control key.
__________________
Pffffffftttttttth. I'm done. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Dec 2001
Posts: 529
|
Well I would like to do something when they hit (CTRL) ...
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Mar 2002
Posts: 323
|
Can't.
__________________
Pffffffftttttttth. I'm done. |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Apr 2002
Location: Paradise
Posts: 1,837
|
Even if it is possible and I am not certain, but go to http://scriptlance.com and you will find out for sure, but let us say you can. If anyone wants to bypass it, all they have to do is turn off scripting in their settings anyway, so you would be better off having it made in php or cgi.
__________________
ICQ 146104506 <p> <a href="http://sexsentry.com"</a><img src="http://sexsentry.com/pics/sentry2.gif" alt="All new Sentry. More options and more exposure and more ways to make even more money by using Sentry Elite and try our new create your own custom entrance script and so many more features, many are still in development, but awesome changes are going on at Sex Sentry!"> </p> |
|
|
|
|
|
#6 | |
|
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
Quote:
The Bouncer script here... looks like it might work for you and looks like it's free.
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
|
|
|
|