Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Flash Plugin tester |
| From: | Ant-1 |
| Date: | Wed, 2 Jun 1999 19:24:48 +0100 |
|
Hi all !
I made a javascript flash plugin tester for my needs. It seems
to work (but i have no macintosh to test it on). If people here could test it or
maybe tell me of mistakes, i'll be glad to ameliorate it.
[Ant-1 ] [La Nauze Multim�dia] [ ant-1 <SCRIPT LANGUAGE="JavaScript">
<!-- //Script by Ant-1 (ant-1
function objBrowserCheck() { var b = navigator.appName ; if (b=="Microsoft Internet Explorer") this.b = "ie" ; this.v = parseInt(navigator.appVersion) ; this.ie = (this.b=="ie" && this.v>=4) ; this.mac = (navigator.appVersion.indexOf("Mac") != -1) ; this.autoUpdate = (this.ie && !this.mac) ; this.hasPlugin = (navigator.plugins) ? (navigator.plugins["Shockwave Flash"]) ? true : false : false ; this.flashy = (this.autoUpdate||this.hasPlugin) ; } br = new objBrowserCheck() ;
window.location = (br.flashy) ? "Index.html" : "NoFlash.html" ; // --> </SCRIPT> |
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

