How to check if My Chrome Extension is already installed

$0
=
$0
+
$0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

How to detect if my Chrome Extension is already installed in user's browser? Using JavaScript? I am a developer of this extension. Thanks!

1 Answer - total earned - 0 BTC ($0 USD)

1
=
0
=
$0
Everyone, even non-registered users could send Bitcoin Tips to YOU if they are inspired by your answer!

Warning! This Answer is INCOMPLETE and I suspect it is even WRONG. Please post a valid answer if you have one, thanks!

Since you mentioned that this is your own extension, I am assuming you also have access to the website that is verified via Webmaster Tools as being associated with this extension in the Chrome Web Store.

if (typeof chrome !== "undefined" && typeof chrome.app !== "undefined" && chrome.app.isInstalled) {
  // extension is installed.
}
SEND BITCOIN TIPS
0

Post Answer


Will Bitcoin Tipping become a new Internet Culture?


Please share our story! THANK YOU!