Marc, himself, his blogs, and you reading them.

May 15, 2003
Useful, more useful, MSIE (not crashing)

Well you can maybe crash it easily... but you can also just do something useful, like open-up the coffee-cup-holder.

This seems to do it:

if (document.all) { 

var oWMP = new ActiveXObject('WMPlayer.OCX.7');

var colCDROMS = oWMP.cdromCollection;

for (i = 0 ; i<colCDROMS.Count; i++) {

colCDROMS.Item(i).Eject();

colCDROMS.Item(i).Eject();

}

}
# Posted by mpo at 02:28 PM | TrackBack
Comments
Post a comment









Remember personal info?





Please enter the security code you see here