@phpnoviceMar 14.2006 — #No, you absolutely can not -- at least, not via JavaScript. This is specific protection from people just like you. Even asking the question proves you're up to no good. :p
@phpnoviceMar 14.2006 — #Yeah, I'm sure it is an assignment, but it is not an assignment by any legitimate agency -- most especially, not a legitimate school. A legitimate school would not be part of any effort to illegally take over control of someone else's computer. That is the only use for what you are asking. Even so, if this is truly for a legitimate school assignment... Such a school should be ashamed for encouraging research in this area -- no matter how fruitless. We have enough misguided and twisted people out there (wanting to write virii, worms, and all manner of other destructive programs for the purpose of carrying out all kinds of illegal activities) without encouraging children in the manner you are describing.
So... Just go away -- and, if you like, go back to your teachers and tell them what I said. Quote me.
@NFPcoderauthorMar 14.2006 — #hey man this is just a project for showing people what type of people disable features to windows, so it would be appreciated if you could just stop being such a stubborn person... ?
@phpnoviceMay 24.2006 — #hehe, my code works perfectly![/QUOTE] No it doesn't. I used Ctrl-Alt-Delete to cancel your code. The OP asked to disable that key sequence. Otherwise... Your code doesn't actually disable Alt-F4 nor does it actually disable Alt-Tab. Instead, you merely keep an [B]alert()[/B] message displayed. I can do that with one line of code. No need for all that other garbage you posted.
@blah1985May 24.2006 — #Alright, let me make this as clear as possible. We both know it is impossible to disable those functions. My code's message was directed at NFP as a joke. The code has no mechanism to disable any keys. When I said that you knew nothing PHP it was sarcasm, In other words, you know what you are doing and thats why its taken as a joke if someone says that. Sorry if I insulted you, my code was NEVER intended to work.
@phpnoviceMay 24.2006 — #My code's message was directed at NFP as a joke.[/QUOTE] Seems pretty cruel, to me. You had the OP's hopes up: i'll see how it goes....[/QUOTE] Also, when one is joking and not trying to be insulting, one courteously indicates so -- in the same post -- by including a smiley, of some sort, and/or by using the code: [B]j/k[/B]
@phpnoviceMay 24.2006 — #Thats true... it doesn't work...
u know a way php?[/QUOTE] The previous answers still apply: No, you absolutely can not -- at least, not via JavaScript.[/QUOTE] It would require a browser plugin.[/QUOTE] ...or HTML Application (.hta) -- maybe. You'll have to do that research for yourself.[/QUOTE] Cheers.
@phpnoviceMay 25.2006 — #could u direct me to a HTML Application or a browser plugin then?[/QUOTE] As I said... You'll have to do that research for yourself.[/QUOTE] Try Google.