Sorry, you'll have to figure that out yourself.
Just to note: Firefox for instance has a default setting that prevents scripts from disabling the context menu.
So all Firefox users would have to change that default setting first for your script to work. Not really an option I think ;-)