Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Got Flash?</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from older browsers hasFlash = false for (i=0; i<navigator.plugins.length; i++) { if (navigator.plugins[i].name.indexOf("Flash") >= 0) { hasFlash = true } } // End hiding script from older browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <H2> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from older browsers if (hasFlash) { document.write("You have Flash, you lucky person, you!") } else { document.write("Sorry, you don't have Flash.") } // End hiding script from older browsers --> </SCRIPT> </H2> </BODY> </HTML>