A Linux system running over JavaScript
A Linux system running over JavaScript
Posted May 20, 2011 17:37 UTC (Fri) by Simetrical (guest, #53439)In reply to: A Linux system running over JavaScript by dag-
Parent article: A Linux system running over JavaScript
JavaScript running as part of a web page doesn't have network access. All it can do is issue HTTP requests, and those only with substantial limitations. E.g., if you even want access to the raw response data, you need to use XMLHttpRequest, which normally only works same-origin (bellard.org can only send requests to bellard.org URLs). Web page JavaScript is never going to be able to use things like SSH to arbitrary hosts: otherwise merely visiting a website would let the owner use your machine for portscanning and so on. If it were ported to be a browser extension instead of just a web page, that might change things, but of course that takes away half the fun.
