On Tue, Jan 21, 2020 at 12:25 PM James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

So far, not just looking at emulation, but also at general JavaScript
code for processing function keys, Mr. Liisberg's product is the only
thing I've seen that can keep Chrome from throwing up (and my choice of
phrase is intentional) the Developer Tools sidebar when I hit F12
(certainly an important function key in a 5250 emulator).


You might want to inquire on the Web list. With JavaScript you register
event handlers (functions) that are invoked when keypress events occur.
Then within an event handler you can invoke stopPropagation() and
cancelBubble() methods, which prevent the browser's default behavior from
occurring when keys like F12 are pressed.

https://www.w3schools.com/jsref/event_stoppropagation.asp

https://www.w3schools.com/jsref/event_cancelbubble.asp

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.