title: google Chrome extension, add the tab to context menu
body: <p>How to add another option to the context menu that appears by right-clicking on the icon expansion?</p>
  
  <p>I try this: </p>
  
  <pre><code>function addMenu(title) {
      chrome.contextMenus.create({
          title: title,
          contexts: ["all"],
          onclick: function() { console.log(1)}
      });
  }
  
  addMenu('Log out');
  </code></pre>
  
  <p>I receive an error:</p>
  
  <p>Unchecked runtime.lastError while running contextMenus.create: Extensions using event pages must pass an id parameter to chrome.contextMenus.create</p>
  
  <p>Who had such problems? Can you help?</p>