Since this is in the Rails forum I'll assume you're talking about a
website
using JavaScript.
The short answer is "No". JavaScript is sandboxed to avoid giving
viruses precisely the kind of control you're asking about. Altering a
user's network settings via a website would be a very dangerous road to
go down.
--
Posted via
http://www.ruby-forum.com/.