browser-preview icon indicating copy to clipboard operation
browser-preview copied to clipboard

Use system browser

Open lukasoppermann opened this issue 4 years ago • 1 comments

I'm very happy with this plugin, especially on a retina display. But I have a slight problem. I'm using the Yandex Browser but I can't choose it in the Plugin settings. Could you add the option "Use system/user browser" or something similar? Thank you, anyway!

Originally posted by @razer-k in https://github.com/lukasoppermann/browser-preview/issues/7#issuecomment-611993376

lukasoppermann avatar Apr 10 '20 19:04 lukasoppermann

Hey @razer-k,

I would love it if the plugin would either detect the default browser or search for all browsers on the mac and show all of them. If you can find a way of adding this functionality to the plugin and send a PR, that would be great.

One possibility would also be to create a list of all common browsers and use the "Startup" action to check if the app exists, maybe via a bash command(?) and add all the ones that do exist to the plugin as options.

lukasoppermann avatar Apr 10 '20 19:04 lukasoppermann