Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hardware access through JavaScript [closed]

Tags:

javascript

Can we access the hardware service routine using JavaScript?

like image 666
SamSol Avatar asked May 28 '10 04:05

SamSol


2 Answers

With the JavaScript inside your browser, No.

However JavaScript can also be used on the server-side, as they guys at Node.js are doing (just to take one example). In this case, you would have access to server-side resources and I/O, using JavaScript as a scripting language.

like image 60
Daniel Vassallo Avatar answered Nov 19 '22 15:11

Daniel Vassallo


one more important thing : Javascript access to the browser is limited

I dont think so its possible via javascript because according to me its client side scripting language. But i thin with serverside scripting you can access hardware of server machine(not sure with this)

read more about this : http://www.webdeveloper.com/forum/showthread.php?t=137449

like image 29
Pranay Rana Avatar answered Nov 19 '22 15:11

Pranay Rana