N
N
NeffiseX2021-02-22 13:49:38
JavaScript
NeffiseX, 2021-02-22 13:49:38

How to connect to drivers using javascript?

Hi hubr!
I have a task ahead of me. To execute it, you need access to the device drivers. How can I connect drivers using JS?

Thanks everyone for the replies!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-02-22
@Aleksandr-JS-Developer

That is unlikely. JS has no access to functions, memory, OS processor. This was done on purpose for the safety of the user.

JavaScript on a web page cannot read/write arbitrary files on the hard drive, copy them, or run programs. It does not have direct access to OS system functions.

(c) learn.javascript.ru
Links:
What JS can't do in the browser

S
Saboteur, 2021-02-24
@saboteur_kiev

Which specific drivers, which devices?
js in the browser does not have the right to connect to the
nodejs drivers, it also has practically no rights, only through what Nodejs allows it, and even to the disks it will not always work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question