I\'m just learning javascript right now, so please do try and explain with that detail in mind.
What I want to do is this exactly -- when a user right-clicks or uses
There is no way to read the context menu from JavaScript. The best you'll be able to do is to infer the user's selection by listening to other events. That could be messy.