0

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?

asked Apr 28, 2020 at 14:28
4
  • That is a VSCode extension, what does it have to do with JavaScript? Commented 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. Commented Apr 28, 2020 at 14:38
  • So you are talking about when you click install it is prompted VSCode to install it. Custom Url Scheme Commented 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? Commented Apr 28, 2020 at 14:46

1 Answer 1

2

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.

answered Apr 28, 2020 at 14:51
Sign up to request clarification or add additional context in comments.

1 Comment

The javascript can comunicate with the .exe? Can javascript call it without prompt?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.