Created
February 16, 2011 18:25
-
-
Save richtaur/829862 to your computer and use it in GitHub Desktop.
Might detect flash, I think maybe perhaps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (navigator.plugins["Shockwave Flash"] === undefined) { | |
// No flash, could do like | |
location.href = "index_no_flash.html"; | |
} else { | |
// Flash is a go! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment