最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to launch application from web browser on Windows and macOS? - Stack Overflow

programmeradmin3浏览0评论

I have seen how apps like Zoom launch their application on desktop whenever we click Join Meeting on the browser. I am unable to figure out how to do that. I tried putting the link of the app as URL but that just started downloading the application. I just need to open the app and do nothing else. Is there any way to implement that using JavaScript?

I have seen how apps like Zoom launch their application on desktop whenever we click Join Meeting on the browser. I am unable to figure out how to do that. I tried putting the link of the app as URL but that just started downloading the application. I just need to open the app and do nothing else. Is there any way to implement that using JavaScript?

Share Improve this question asked Jul 18, 2021 at 5:58 flyingturtlesflyingturtles 9031 gold badge6 silver badges14 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

You should learn about how to write a custom URI scheme, define it in your app. and then, trigger it in the browser instead https://.
Check it here:
https://en.wikipedia/wiki/List_of_URI_schemes

Custom URI Scheme will help you to achieve this for your app. For eg: zoommtg, zoomus schemes are used by Zoom example: Windows/Mac client: zoommtg://zoom.us/join?confno=123456789&pwd=xxxx&zc=0&browser=chrome&uname=Betty

iOS/Android Client: zoomus://zoom.us/join?confno=123456789&pwd=xxxx&zc=0&browser=chrome&uname=Betty

发布评论

评论列表(0)

  1. 暂无评论