Chrome extension disable app if same app was installed already - web

Im working on a chrome extension that has been released as several versions
for several brands. Actually they have the same handling but its like a different app. How can I prohibit double installations ? So for instance if App A is installed disable App B on installation or just disable it in general.

Related

Using my Chrome extension's dev version on one machine and prod on another

I'm developing a chrome extension. I'm also a user of my chrome extension. As a user, I have the prod version of my extension installed in chrome from the chrome webstore.
As a developer, I have the development version of the chrome extension installed locally via Load unpacked on my dev machine.
That machine lists my extension twice, once for the unpacked dev version and once for the prod version. How can I be sure that I'm testing with the dev version on my dev machine?
Do I need to disable the prod version on that machine? I don't want to disable it if it can be avoided because I have sync extensions enabled (which I don't want to change) and disabling it on one machine will disable it across all my other machines.

How to create a browser instance (pupeeteer) with firebase and use it in my app (node.js)?

I created a firebase project. This communicates with a mobile application (node.js). As part of this project I want to use pupeeteer.
I have no problem launching functions using pupeeteer in firebase.
The problem is that I want to make the user perform actions. So I have to display the web page (pupeeteer) in the application via a browser generated by the server (with a firebase function?)?
However I have no idea how to launch a browser instance in the background and close it at the end of processing?
Can you help me ? Is this the right solution?
I want to use this :
This library does 2 things:
Download the chromium binaries and launch a Chromium process.
Connect to this process with Websocket and send json commands to control the browser.
Due to limitations on mobile platforms (iOS and Android), it is not possible to launch an external Chromium process on iOS and Android. So, step 1) does not work on mobile.
You can still use puppeteer-dart on Flutter either with:
Flutter on Desktop (macOS, windows, Linux)
Flutter on mobile BUT with the actual Chrome instance running on a server and accessed from the mobile app using puppeteer.connect
The pub.dev website reports that this library works with Android and iOS. The supported platform list is detected automatically and can't be manually modified to express the current limitations

Is there a way to add a chrome extension to an already built electron app?

Taking as an example Microsoft Teams app (which as today is still Electron based), in its Developper mode you get to access the dev tools, so, I did check Electron's docs on how to add Chrome extensions, but naturally it only mentions the case when you are the one building the electron app, not when the app is already built.
I'm trying to add Moesif Origin & CORS Changer extension, macOS Catalina v10.15.7, Microsoft Teams v1.4.00.16567
EDIT:
It is for the local developing & debugging of an app that would be distributed for use inside an electron app, I have no need to add the extension on production it would be for dev-only.

How to check if particular software is installed or not on system using Electron?

I want to check if Chrome browser is installed or not when my electron app run. I want a solution which will work for all OS.

Is is possible to package a .app for OS X?

I've read about Packaged Apps and played with the example apps. I can load them into my Chrome Canary, but I can't seem to find a way to build/package a .app for OS X. Is this not possible yet, or am I just missing something?
Previously Google Chrome packaged apps were only for Google Chrome. According to a recent blog post by Sriram Saroop, the product manager for Chromium, there is an available Chrome App Launcher to run Google Chrome packaged apps outside of the browser.
The Chrome App Launcher will be coming "soon" to Mac and Linux.

Resources