I am writing a userscript for Greasemonkey and want to add an item to right click context menu. If I'm not mistaken, this function is called window.addEventListener("contextmenu", ...).
window.addEventListener("contextmenu", ...)
Can you give me example of this?