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)
I only have the extension ID< I cannot modify the manifest or anything related to the extension.
I have tried many things, such as the management
API, but that requires manifest permissions.
I need this to be able to run in-page, not in extension.
Things I have tried:
chrome.extension.connect(theidhere, andafunctionhere)
chrome.management.get(theidhere, andafunctionhere
And a function I found here on SO that was too big to paste.
Is there anyway to log to the console if a certain extension ID is found, and for it to work in between <script>
tags in a standard .html
document?
EDIT: Before someone possibly marks this as a duplicate, I am aware of this question, and this question.