I noted that some sites like this:
https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker (click on install)
can call external program prompting a request.
I remember the use of ActiveXObject years ago but now it is not supported in my chrome browser.
How can these sites call external program with javascript? Is it possible to call a program without the prompt?
-
That is a VSCode extension, what does it have to do with JavaScript?epascarello– epascarello2020年04月28日 14:37:21 +00:00Commented Apr 28, 2020 at 14:37
-
The site in the link call vscode exe if you click on "Install". I guess that the site uses javascript.asv– asv2020年04月28日 14:38:23 +00:00Commented Apr 28, 2020 at 14:38
-
So you are talking about when you click install it is prompted VSCode to install it. Custom Url Schemeepascarello– epascarello2020年04月28日 14:44:09 +00:00Commented Apr 28, 2020 at 14:44
-
I don't know about Url Scheme. How it works? Where can I find information to write a web page that call exe with Url Scheme?asv– asv2020年04月28日 14:46:55 +00:00Commented Apr 28, 2020 at 14:46
1 Answer 1
When you click on the button to install the plugin, it is calling vscode:extension/streetsidesoftware.code-spell-checker
It is using a registered URI scheme which your application is able to handle. How to register it really depends on what your application is written in.