I found a script but i cant make it to work to detect ie 9.
need some assistance!
http://www.devslide.com/labs/browser-detection

When clicking on the link you provided, my web filtering software has indicated that the target page is suspect for malware/suspicious. could be a false positive, but be cautious.

In any case, what is it you are trying to do? Do you want something to happen when the site is visited by a user using IE9 as the browser? IF so, you can use a conditional comment. For example..

<!--[if IE 9]>
  <p>Welcome to Internet Explorer 9.</p>
<![endif]-->

just want to notify site visitors that this site is best viewed in this browser and option to continue
the link has cool css comes with it
heres the direct link
or download this
http://www.devslide.com/downloads/labs/browser-detection.zip

<link rel="stylesheet" type="text/css" media="screen" href="http://www.devslide.com/public/labs/browser-detection/browser-detection.css" />
<script type="text/javascript" src="http://www.devslide.com/public/labs/browser-detection/browser-detection.js">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.