Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1760651.JUsAPRdEKB@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 22 Nov 2013 11:56:53 +0100 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <1581559.TFT1m0cKLP@PointedEars.de> <9408b50a-9b19-4307-a30f-7ffdd7ca3eb1@googlegroups.com> MIME-Version: 1.0 Lines: 52 NNTP-Posting-Date: 22 Nov 2013 11:57:33 CET NNTP-Posting-Host: 98614c63.newsspool4.arcor-online.net X-Trace: DXC=IJC\X[?dgKOWDmlTRbh@=I4IUK Thomas 'PointedEars' Lahn wrote: >> Depends. try…catch at least is the only reliable way to determine >> whether a host object of a certain class (sic!; as in CLSID) can be >> successfully created when “ActiveXObject” is called as a constructor >> where try…catch is supported (that would apply to these versions of >> JScript). > > An alternative which still seems to work: > > > > > > clsid test > > > classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> > > classid="CLSID:F5078F35-C551-11D3-89B9-0000F81FE221"> > > > > > > The first is windows media player, the second is Msxml2.XMLHTTP.3.0 Curious. The “classid” attribute is not listed under “content attributes”, but it is ascribed meaning in the prose: This has not changed in the latest Editor's Draft (22 November 2013): However, I do not see how that could be be used to detect support for a certain COM class. The element is there no matter whether the class is supported. Besides, does there have to be a CLSID for each server type? What about non-HTML use? -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.