Click to See Complete Forum and Search --> : Using JS to check for Adobe Acrobat?


SAFX
02-28-2003, 12:08 PM
Is it possible to have a Javascript function that checks the client's browser and determines if Adobe Acrobat is currently installed or not? I'd like to show a link to download Acrobat Reader in case I can determine the client does not have the software installed.

Thanks :D

SAF

Nevermore
03-01-2003, 02:04 PM
I don't think so - the way I think that it works, is that you can only check for plugins, whereas acrobat is a stand alone program.

SAFX
03-01-2003, 04:01 PM
Yeah, that's what I was thinking, thanks! :D

SAF

khalidali63
03-01-2003, 08:49 PM
You can check this in NS browsers using the following code

var plugginName = navigator.pluggins[x].name;

acrobat reader name appears as this string

"Adobe Acrobat"

read about navigator.plugin object.

cheers

Khalid