F1 functionality

Is there any way to make a pop up load when the “F1” key is pressed? This mimics the press F1 for help.

Maybe with javascript that would catch the F1 keypress. Anyway, this is not available in HTMLEXE itself.