Re: How to identify Service Pack using javascript

"bluestfan" <[email protected]> Tue, 13 Jun 2006 21:34:25 -0000
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
Why would you want to? What need would you have to find out what 
service pack someone is using via a web page? 

Not to attack anyone, but the advice is so bad; Mr. Chapman who in 
their right mind would attempt to fix a problem with a stable release 
of software by using a beta release (of Microsoft no less).

Anyone who is browser sniffing still is a dinosaur in computing. That 
was the way to go back in 1994.. it is now (since before 2000) 
considered best practices to use cross browser DOM scripting... not 
to sniff for a browser type.

I would recomend not to use a beta version software package from a 
company that historically has unstable insecure software. Talk to any 
web designer and most would agree; use firefox.

Active X is slow and insecure by design, where as Javascript is quick 
and secure by design. If you had people using your site and you put 
active x controls in the site.. you would have to practically 
blackmail/pay any competent computer literate individual to use the 
site.

- David

--- In [email protected], Stephen Chapman <steve@...> wrote:
>
> It is difficult to tell what browser is being used from within 
> Javascript. Telling the Operating System is just about impossible. 
The 
> only way to do it is to rely on thebrowser telling the truth about 
what 
> they are and most browsers will lie and claim to be IE.
> 
> You can use IE HTML conditional statements to test for IE and which 
> version of IE that it is but apart from the fact that IE has been a 
> Windows only browser since tha Mac version was killed off in 2003 
you 
> can't get any more specific as to which version of Windows (without 
> relying on what the browser places in the navigator object).
> 
> There are about 600+ known security holes in IE6 where SP2 is not 
> installed. A few dozen of these holes can be patched by installing 
SP2. 
> Most of them can be patched in IE6 by disabling ActiveX. To patch 
all of 
> them properly you need to upgrade to IE7 (that is the main reason 
for 
> the existance of the new version).
> 
> regards,
> Stephen Chapman
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ask Felgall           http://www.felgall.com/
> Focus on Javascript   http://javascript.about.com/
> Steve's Railway pages http://rail.felgall.com/
> AMRA Inc              http://www.amra.asn.au/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Please check the security certificate attached to this email
> to confirm the identity of the sender.
> Get your own free email security certificate from 
<http://www.comodogroup.com/products/certificate_services/email_certif
icate.html>
> 
> Note that emails more than 100k in size sent to this email
> address are automatically deleted. If you need to send me an
> attachment larger than this please contact me in advance to
> make alternate arrangements.
> 
> 
> 
> Maninder, Singh wrote:
> 
> >Hi,
> >
> >Is there anyway I can determine the service pack using javascript?
> >
> >My application works on IE 6.0 and above, but only when IE 6.0 
without service pack (browser SP) is installed, it starts behaving 
weirdly (crashes, etc).
> >
> >Are there any known bugs in IE 6 without service pack?
> >
> >Can I identify this in the headers?
> >
> >Please let me know your thoughts.
> >
> >Thanks,
> >Mandy.
> >
> >
> >
> >Unsubscribe
> >[email protected]
> >
> >List info
> >http://www.quirksmode.org/dom/list.html 
> >Yahoo! Groups Links
> >
> >
> >
> > 
> >
> >
> >
> >  
> >
> 
> 
> [Non-text portions of this message have been removed]
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/9rHolB/TM
--------------------------------------------------------------------~-> 

Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/