Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <3662251.QlheKOReXk@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 25 Jan 2012 04:11:59 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: allow blocked content Newsgroups: comp.lang.javascript References: <4f1e99e5$0$7618$9b4e6d93@newsspool1.arcor-online.net> <5379446c-6786-47f6-963c-ef67e11b0c9d@z12g2000yqm.googlegroups.com> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 30 NNTP-Posting-Date: 25 Jan 2012 04:12:00 CET NNTP-Posting-Host: b7420144.newsspool2.arcor-online.net X-Trace: DXC=;\WL>kVHfU=QbA1[CgMQ00A9EHlD;3Yc24Fo<]lROoR18kFKFV6LP@XgM> X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:10553 Andrew Poulos wrote: > On 25/01/2012 10:00 AM, Michael Haufe (TNO) wrote: >> On Jan 24, 2:32 pm, Andrew Poulos wrote: >>> I have tried using a .hta file but it appears to render the page >>> noticeably differently for no reason. >> You can be certain there is a reason. >> Are you using an appropriate doctype for instance? > > According to > > a .hta starts with . Is this not correct? That URI is 404-compliant here. However, having only superficial experience with HTAs, I find it unlikely that a .hta *needs to* start with `'; it is more likely that you have found a bad example (the MSDN Library is strewn with them). AFAIK, the layout engine that is used is the same as the one that Internet Explorer usually uses (MSHTML), and we do know what happens there if you omit the DOCTYPE declaration or omit the system identifier from it. You could simply have tried *before* you asked. PointedEars -- Danny Goodman's books are out of date and teach practices that are positively harmful for cross-browser scripting. -- Richard Cornford, cljs, (2004)