Home How to check if a chrome extension is installed with javascript
Post
Cancel

How to check if a chrome extension is installed with javascript

How to check if a chrome extension is installed with javascript

I’m currently developing a Chrome Extension program. I suddenly wondered if I could implement a function that guides the installation page by checking the website for the installation of the extension program I made.

Solution

I found a solution in StackOverflow. There are various ways to check it, but I found this way is the easiest way.

Use Connection Method

1
2
3
4
let check = chrome.extension.connect(
  "extension id in chrome developer dashboard",
  some_object_to_send_on_connect
);
This post is licensed under CC BY 4.0 by the author.
Contents