title: Open Javascript onclick URL with chrome extension's linkUrl
body: <p>I am developing simple web view chrome extension with iframe.</p>
  
  <p>If my cursor is right click anchor link than I want to make open that link on a new tab. I made this feature with following code.</p>
  
  <pre><code>chrome.contextMenus.create({  
       title: "Open link in new tab",  
       contexts: ["link"],  
       onclick: function search(OnClickData) {  
         chrome.tabs.create ({url: OnClickData.linkUrl}) }
    });
  </code></pre>
  
  <p>The problem is if link is set with <code>onclick</code> method like this,</p>
  
  <pre><code>&lt;div class="demo" onclick="location.href='?bo_table=cm_iphonien&amp;amp;bo_style=view&amp;amp;wr_id=1844771&amp;amp;page='"&gt;
  </code></pre>
  
  <p>My code can't render this link as a link. So how can I open Javascript <code>onclick</code> URL with chrome extension's <code>linkUrl</code>??</p>