Javascript: I have a custom right-click menu but still want the spellcheck!


I wrote a custom right-click menu thing for my website. Firefox automatically does spellchecking and underlines mis-spelled words.

However I can no longer right click on these words because I have a custom right-click menu…

Does anyone know if its possible to have code like:

if(needsSpellcheck) {
  //use firefox menu
} else {
  //use my menu


Best Solution

Not exactly a solution but I've read that a shift right-click will give you the firefox menu if it's overridden by a website.