andy-portmen / open-in

Send URLs from one browser to another one
http://add0n.com/open-in.html
172 stars 113 forks source link

Resolve "Open in Brave" Extension Opening Brave Browser Twice in Chrome #88

Open hubertjakubiak opened 8 months ago

hubertjakubiak commented 8 months ago

The "Open in Brave" extension currently demonstrates a behavior wherein it triggers the Brave browser to open twice if installed within the Chrome browser. The anticipated functionality is for the extension to initiate the opening of Brave only once. Ideally, it should intelligently detect whether Brave is already active, and if so, open a new tab within the existing Brave window rather than launching a redundant instance.

To Reproduce the Issue:

  1. Install the "Open in Brave" extension within the Chrome browser.
  2. Close the Brave browser if it's currently running.
  3. Activate the extension either from an external application or a webpage.

Expected Outcome:

Actual Behavior:

tinoucas commented 3 months ago

I can reproduce this with "Open in Edge" from Yandex browser on Linux: two tabs are opened each time in Edge with the same url. Happens both from context menu and from domains set in settings.

Works fine otherwise.