javascript detect adobe reader plugin for browser
Asked Answered
L

1

8

If the pdf viewer plugin is not installed how to detect it and give a alert message to install pdf viewer

Looper answered 8/11, 2010 at 7:47 Comment(2)
stackoverflow.com/search?q=detect+reader but perhaps pinlady.net/PluginDetectMartica
possible duplicate of Is there any jquery plugin/script to detect Adobe Reader on user system ?Fredericafrederich
P
23

I created a script on my blog for all major browsers to detect pdf reading capabilities. Even distinguishes between Chrome's PDF Viewer and Acrobat. you can get the code here:

Detecting Adobe Acrobat in all browsers

Principled answered 17/1, 2011 at 22:56 Comment(1)
browser_info.acrobat == null might want to change that to =. (I can't edit it myself since edits must be at least 6 characters, apparently.)Strang

© 2022 - 2024 — McMap. All rights reserved.