Cookie-supported Flash Detection - Installation

  1. Add the following code to the document you want to use the script in (before any reference to the flashVersion or flashVersion_DONTKNOW variables):

    
    <script type="text/javascript" src="flash_detect.js">
    //<![CDATA[
    function getFlashVersion() { return null; };
    //]]>
    </script>
    
    <script type="text/javascript" src="flash_cookie.js">
    //<![CDATA[
    var flashVersion = 0;
    var dontKnow = true;
    //]]>
    </script>
                      

    If the flash_detect.js and flash_cookie.js files are in a different directory than the html document, be sure to include the relative path to the Javascript file in the src attribute values.

  2. Have a nice day.

More about this script

Related to this script

Licensing

This script is released under a Creative Commons License.