JavaScript code to detect the Flash Player 4.0 or later

Sometimes it is required that your web page should validate, before displaying swf files, that whether flash plugin is installed on client computer or not. So try below code and enjoy:
 
var plugin = (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] ?  navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
  
  if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >=  4) {
  
   //Flash 4 or greater is available

  } else {
  
   //Flash 4 is not available

  }

Time for developers to go home and chill

After release of LINQ to SQL, everyone was claiming that there is no need to worry about Data-Access, so half of developer’s work can be done though a small wizard rather than spending days on them.

 

Now situation has been further worsen for developers with the release of ASP.Net MVC and now with “SubSonic MVC Addin Updated for Beta 1” where you even don’t need to worry for CRUD forms, branding, styling and master page. All will be generated automatically for you. You just need to learn how to use project wizard to generate all of stuff for youJ. 

Good bye coders and welcome domain-developers.