Mouse click simulates keyboard key in JavaScript
问题 I have situation that in application (HTML/XUL) there are key bindings for some function keys (F5, F7 & F9) in order to communicate with some other application. Now I have to make touch-based interface for same app, without keyboard and advanced touch events. All touch clicks are actually same as mouse clicks and I need to have 3 buttons/links that behave same as F5, F7 & F9 keys. Don't ask for reasons, all I can say is that I need to keep that key bindings. Can I assign mouse click on link