title: Tampermonkey - Right click menu
body: <p>With Tampermonkey is there any way to create a right click menu option in Chrome?</p>
  
  <p>I found <code>GM_registerMenuCommand</code> but it does not seem to show any new items in the right click menu.</p>
  
  <p>Another problem is I use <code>GM_openInTab</code> in the test script but it seems to loop infinitely for some reason. It should only trigger after the menu is clicked, why would this happen?</p>
  
  <p>Also I am wondering is there a way to do this in a more advanced way with custom right click icons etc? </p>
  
  <p>There was a GM script for Firefox that worked for menus but in Chrome nothing seems to show so it would be good to have a way to have this working.</p>
  
  <pre><code>// ==UserScript==
  // @name            Context Menu
  // @namespace       http://tampermonkey.net/
  // @description     Test
  // @version         0.1
  // @author          author
  // @include         *
  // @exclude         file://*
  // @grant           GM_openInTab
  // @grant           GM_registerMenuCommand
  // ==/UserScript==]
  
  
  (function() {
      'use strict';
  
  function test() {
      GM_openInTab("https://website.net");
  }
  
  GM_registerMenuCommand("hello", test(), "h");
  
  })();
  </code></pre>