HP Software Developers Blog
HP Software Developers thought leadership around software architecture and design, cloud data modeling, mobile technologies, big data, performance programming and more.

Detect HTML5/CSS3 Features Using the Modernizr JavaScript Library

In the past, when we developed an application or website, there was a limited variety of browsers: Microsoft Internet Explorer and Netscape. The changes between the browsers forced the developers to detect the browser type by user string and load the appropriate JavaScript file accordingly.

 

Now there are a huge variety of browsers— five major desktop browsers—and countless browsers on other platforms, including mobile and gaming consoles. Now that you have an image of all the different browsers that we come into contact with daily, remember that almost all the major browsers update frequently.  Each of these updates affect (sometimes heavily)  the features that the browser supports.

 

In this post we will share how to use the Modernizr library in order to solve this mess...

 

This article has been written by Ran Bar-Zik

Search
About the Author(s)
  • I've been all over the coding world since earning my degrees have worked several years in c++ and then several in java, finally setteling into c# about 7 years ago, where i spent a good amount of my time in Performance tweaking & memory debugging, as well as designing new solutions and hacking at old ones to stay in line. Computers never cease to amaze me, and i'm glad to have found a field where i get paid to do what i enjoy. some of my tools and thoughts are also stored in codeproject, and you are welcome to check them out there.
  • work as a Senior Technologist in HP Software ALM CTO office. Past experience include chief architect for Application performance management, QA manager for Business service management, developer for Real User management
  • This account is for guest bloggers. The blog post will identify the blogger.
  • Research Architect @HPSW, focused on what ALM means for developers, DevOps, user experience and other emerging practices. Previously was a functional architect and a developer in HP ALM and HP UFT products.
  • Seasoned architect with over 12 years of experience in the enterprise software business, contributing to setting the roadmap / vision, high level architecture and technology review, innovation management and product integration within HP Software portfolio.
  • Lior has over 15 years experience in the software industry in various roles – experienced in Enterprise Software and team build up . Lior Managed the HP Software ALM PCoE Group where he focused on the domain of application development and application performance management .
  • Malcolm is a functional architect, focusing on best practices and methodologies across the software development lifecycle.
  • Architect and User Experience expert with more than 10 years of experience in designing complex applications for all platforms. Currently in Operations Analytics - Big data and Analytics for IT organisations. Follow me on twitter @nuritps
  • Yaniv Sayers has over 15 years of experience in the IT and software industry, including software design, R&D and IT operations. Holds expertise in various spaces including IT operations, ITIL, ALM, Agile, Cloud, DevOps, Mobility and Software Architecture and Design. In current capacity Yaniv is a CTO in HP Software IT Management, responsible for planning and driving technology and innovations strategy with emphasized focus on solutions for agile development, DevOps, mobility and cloud.
Follow Us


HP Blog

HP Software Solutions Blog

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation