In IE, you can create ActiveX controls that theoretically allow you to do whatever you like on the client side. However (and its BIG), most likely, it will ring disturbing calls to users / browsers from a security point of view.
ActiveX JavaScript:
var myObject = new ActiveXObject('MyObject.MyControl');