Closed hairydalek closed 7 years ago
This has something to do with Safari not creating the KeyboardEvent object correctly - what the code is trying to do at that point is simulate a key press based on whatever button you just clicked on. The solution might be to put that code in a try/catch block and use a deprecated method of capturing the keydown event if an exception is generated.
Yes, this sort of thing is certainly browser-specific behaviour and I've had other people say that similar things don't work for them.
This might help:
http://stackoverflow.com/questions/961532/firing-a-keyboard-event-in-javascript
This is a duplicate of #44.
In Firefox on a Mac, I can insert control codes from the list on the left by clicking on them.
Is Safari on a Mac, I can’t. Those clicks do not work.