Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

prevent "control n" from opening a new browser window with an applet  RSS feed

Anne Forumer
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet, A, totally occupying a browser window. Not surprisingly, A new browser window opens with another instance of applet A in it. I put some javascript in the HEAD section to intercept "Control N", but it is not preventing a new browser window from opening! I tried to test it by trying to pop up an alert box if I type "control N". javascript works if there is no applet on the page.

Should this be working? If no, what do I need to do? How does an applet hand-off keystrokes like "control N" to the browser?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!