🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #303

Re: div (browser detect)

#303
From: [sis]
Date: Tue, 08 Jan 2002 15:01
18 lines
1369 bytes
> no dobra, ale jeszcze jedno pytanko mam: wykrywanie netszkapy 4 robi sie
> mniej wiecej tak - nn4=(document.layers)?true:false;
> jak wykryc nn6?

ns6 = (document.getElementById)?1:0;

idac dalej mozna miec:
<script>
// jaka masz przegladarke?
var
d=document;w3c=(d.getElementById)?1:0;ie4=(d.all)&&!(w3c)?1:0;ns4=(d.layers)
?1:0
</script>

:)

pozdrawiam pierwszy raz na pcljs,
Kamil
Technical Details
Message-ID: <a1f1kc$ec$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <3c3add07$1@news.vogel.pl> <MPG.16a503602d7044f5989705@news.tpi.pl> <3c3aedf6@news.vogel.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "[sis]" <sisqo@board.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: div (browser detect)
Date: Tue, 8 Jan 2002 16:01:45 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 20
Message-ID: <a1f1kc$ec$1@news.tpi.pl>
References: <3c3add07$1@news.vogel.pl> <MPG.16a503602d7044f5989705@news.tpi.pl> <3c3aedf6@news.vogel.pl>
NNTP-Posting-Host: pa92.katowice.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 1010502093 460 213.76.8.92 (8 Jan 2002 15:01:33 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 8 Jan 2002 15:01:33 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit