This question is very specific, so let me explain and bear with me:
I want to disable a user from accidentally skipping content while watching YouTube movies on an instance of Google Chrome on Ubuntu. For this, I want to disable the right arrow key for a specific user.
Note: I understand that this technique is easily to circumvent by using the mouse, but for simplicity I just want to prevent skipping by key presses.
I have read about the Xmodmap here, and this Mediakeys with .Xmodmap HOWTO. My file is like this:
keycode 114 =
Simple as that, and it works, except for YouTube movies. I works in all the OS windows, in the URL toolbar of Chrome, textareas like this question's editor box, but not for the video player. It seems, that Google Chrome's video player uses a different, more direct keyboard input source the the x window system.
So this is the question:
How to disable the arrow keys (content skipping by keyboard) in Google Chrome, while watching YouTube videos, on Ubuntu.