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

1
=
0
=
$0
Internet users could send Bitcoin Tips to you if they like 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

Too many commands? Learning new syntax?

FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your productivity with FavScripts.com!

Post Answer