title: Detect Chrome extension by ID
body: <p>I would like to detect if a user has a Chrome extension, and if so, log something to the console (I will change what it does later on, but keeping it simple for now)</p>
  
  <p>I only have the extension ID&lt; I cannot modify the manifest or anything related to the extension.</p>
  
  <p>I have tried many things, such as the <code>management</code> API, but that requires manifest permissions.</p>
  
  <p>I need this to be able to run in-page, not in extension.</p>
  
  <p>Things I have tried:</p>
  
  <pre><code>chrome.extension.connect(theidhere, andafunctionhere)
  chrome.management.get(theidhere, andafunctionhere
  And a function I found here on SO that was too big to paste.
  </code></pre>
  
  <p>Is there anyway to log to the console if a certain extension ID is found, and for it to work in between <code>&lt;script&gt;</code> tags in a standard <code>.html</code> document?</p>
  
  <p>EDIT: Before someone possibly marks this as a duplicate, I am aware of <a href="https://www.google.com.au/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjbqoWora7QAhVCPrwKHWc8BBoQFggdMAA&amp;url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F8946325%2Fchrome-extension-id-how-to-find-it&amp;usg=AFQjCNFgKPjcfr_Pim51iX6X62RyxTKKJg&amp;bvm=bv.139138859,d.dGc" rel="nofollow noreferrer">this</a> question, and <a href="https://www.google.com.au/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=3&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjbqoWora7QAhVCPrwKHWc8BBoQFggrMAI&amp;url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F27930016%2Fdetect-if-a-chrome-extension-is-installed&amp;usg=AFQjCNHlL1Rw1_3b8w0RiSAOFMT5VTEQcA&amp;bvm=bv.139138859,d.dGc" rel="nofollow noreferrer">this</a> question.</p>