Preserved Topic: Disabling the Shift button. |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 01:40
Whats the code for disabling the Shift button. This would help in a page where right clicking has been disabled but you still dont want users to click on a link while holding the shift button thus following your links. I've seen this done before so I know its possible. |
Maniac (V) Inmate From: under the bed |
posted 08-29-2000 03:18
don't really know, but I'm wondering why you would want to in the first place? |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 04:41
so as to hide a url. I've got a dot com name for my site which uses frame forwarding to the IP where I host my site and I dont want users viewing and bookmarking that IP so thats why I want to disable the shift key. The site I saw using it had it in a way such as on hitting the click key a message popped up saying that its disabled more or less the same as when on right click of a mouse a message might pop-up. |
Paranoid (IV) Inmate From: California |
posted 08-29-2000 05:21
Hmmm, I was able to get his/her source real easy: code: <html>
code: <html>
|
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 06:03
I understand what you mean about holding the shift button down and then clicking on the link that says "enter". It opens a new window containing all of the toolbars again, obviously giving the user the option to bookmark hat portion of the site. |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 06:09
My point wasnt that its not possible to do a view source but all I wonna do is not make the link in the pop-up page be able to be opened in a new window. Any one can do a view source and follow the link to a page if its listed in the frames so I dont understand your point on copying and pasting the source. |
Maniac (V) Inmate From: under the bed |
posted 08-29-2000 06:54
but again, I just want to ask why? I don't mean that in a patronizing way...I just still don't understand the purpose of doing it? |
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 07:14
yeah i wonder the same thing...guess i sprinkled to much invincible powder on that last post....[and i brush some off, and lets see if that does the trick] |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 07:53
... and still none of y'all has answered me but keep asking why. |
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 09:19
try using the OnKeyPress() event, i have used it to verify keys press while typing in a text box, not sure if it will work for what you want to accomplish though. it may only be a text related event for use in forms..... |
Bipolar (III) Inmate From: Wales, UK |
posted 08-29-2000 10:18
I think (having read through these postings about 5 times), that I just about understand what you're trying to do. (Some of your scentences don't quite make sense if you read though them again!) |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 13:45
I got my question answered and even better, the script I found disables the pressing of any keyboard key plus right clicking too. I knew the answer lay out there in warez sites and I went out searching and edirectdownload.com just had the thing I was looking for, www.edirectdownload.com/main.shtml in the java.js script to be precise. Maybe now some one can go ask him "why" he put the script there. Of course any one who wants to see the code or view his links bad enuff can see em but it serves to deter the "Average" user. Thanks y'all for your help. For anyone curious the code in the java.js file is below |
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 14:53
you could also use the script found on this site: http://www.albecomics.com/ |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-29-2000 18:26
Hmm seems you are also going to have to put a window.status event so that the URL doesn;t get shown. |
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 20:41
uhh, you do realize that script disables *all* keyboard events right? quite annoying if you ask me, for someone who tabs to links a lot..... |
Bipolar (III) Inmate From: Wales, UK |
posted 08-30-2000 03:24
Ha! Yeah, Bitdamaged. You got there before me! I realised this last thing last night, but was too lazy to come and post my mistake here! |
Maniac (V) Inmate From: under the bed |
posted 08-30-2000 08:16
huh. but, why? <img border=0 align=absmiddle src="http://www.ozones.com/forum/wink.gif"> |
Neurotic (0) Inmate Newly admitted |
posted 08-30-2000 08:36
hehehe..... <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif"> |
Bipolar (III) Inmate From: Wales, UK |
posted 08-30-2000 09:10
because... |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 08-30-2000 20:13
Riddim: |
Neurotic (0) Inmate Newly admitted |
posted 08-30-2000 21:13
hey wes, thanks for explaining what i didnt have the patience to..... <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif"> |
Nervous Wreck (II) Inmate From: |
posted 08-31-2000 08:26
I dint mean it as in some one "Has to give me an answer" kind of way. I meant it in a way that some one asks me my objective for wanting to do so, I explain to them and yet they still keep asking the same question "Why" as if they gonna answer me in the end. My reasons arent good enough? I know the purpose of a discussion board so I dont even understand this "tech-support" stuff. Am stil thankful to everyone though coz on this board I've learnt a whole lot of stuff and gotten questions which bugged me for a while answered. |
Neurotic (0) Inmate Newly admitted |
posted 08-31-2000 09:03
if you assume that the people that ask "why" are not going to answer your question, then dont bother posting anything at all. i had full intention of answering your question but your little "... and still none of y'all has answered me but keep asking why." remark caused me to not even care if your question was answered at all. sometimes it takes a little more info to solve a persons problem, and you should be able to supply that information the best you can. |
Nervous Wreck (II) Inmate From: |
posted 08-31-2000 14:22
"i think the main thing that bothers me is that you pay no attention to other critisim of the page." |
Nervous Wreck (II) Inmate From: |
posted 08-31-2000 16:51
la'dsasha I found a script that acts like the one you mentioned at http://www.albecomics.com/ but the one I got disables other people from putting your page in their own frames. Its at http://www.kallbackafrica.com/simply/keep.htm |