# Javascript plug-in detection

**URL:** <https://forum.kirupa.com/t/javascript-plug-in-detection/18439>\
**Category:** programming\
**Created:** [April 16, 2003, 6:53pm UTC](https://forum.kirupa.com/t/javascript-plug-in-detection/18439 "2003-04-16T18:53:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poedog99](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@poedog99](https://forum.kirupa.com/u/poedog99)\
**Post date:** [April 16, 2003, 6:53pm UTC](https://forum.kirupa.com/t/javascript-plug-in-detection/18439/1 "2003-04-16T18:53:54Z")

</div>

HI there,

I have some code on a site that detects the browser(IE or NN) then detects within this if it has flash.If no flash then it gives you a html navigation otherwise it will give you a flash navigation.

The problem I encounter is that when a person has their flash plugin disabled, no navigation comes up. How do I add that in as a parameter also. In other words if there is flash but is not enabled then it will go to the html navigation?

Attached is the code  
TIA  
-laurie
