From Google's JS
Date: 07/07/05
(Code WTF) Keywords: xml, microsoft
function _noActiveX() { if (!_ua('msie') || !document.all || _ua('opera')) { return false; } var s = false; eval('try { new ActiveXObject("Microsoft.XMLDOM"); }'+'catch (e) { s = true; }'); return s; }
Source: http://www.livejournal.com/community/code_wtf/10664.html
|