Updated
What is Modernizr?
Modernizr is a JavaScript library that detects which HTML, CSS and JavaScript features a visitor's browser supports. It is free, open source software under the MIT license.[1][2][3]
Modernizr is a JavaScript library that detects the availability of next-generation web technologies in users' browsers. It allows developers to test for features rather than specific browser versions, enabling the creation of websites that can adapt to different browser capabilities. Modernizr helps in implementing progressive enhancement and graceful degradation strategies in web development.
Modernizr belongs toJavaScript librariescategory.
69websites
use it — 2.7% of the 2,539 websites we scanned in the last 12 months
#14of 108
tools in its category seen in our scans (we recognize 253)
8public pages
on UptimeCard — open any of them to see how that site is doing
3.34% of all websites we track run Modernizr
What is Modernizr used for?
In short, from the websites we scan
- Tailoring the page to the browser
- Test results let a page change its behavior to match what the visitor's browser can do.[1]
- Serving tiered experiences
- Use new browser features where they exist without leaving users of older browsers behind.[1]
- Checking browser feature support
- Reports which HTML, CSS and JavaScript features the visitor's browser has to offer.[1]
- Writing your own detects
- The documentation shows how to add a custom test whose result is stored on the Modernizr object.[2]
- What it does
- Modernizr is one of the javascript libraries tools websites use. In our scans it is #14 of the 108 we see.
- Used together with
- It is often installed next to Bootstrap, jQuery UI, Facebook Pixel.
Should you use Modernizr?
The 10-second version, from the vendor’s own pages and what we see in our scans
Modernizr fits if…
Look elsewhere if…
- You only target browsers that support the features you use and need no fallbacks[1]Modernizr exists to tell you what a browser can do.
Support and help for Modernizr
How the vendor says you can reach it, and the public help community
Modernizr versions
The newest release, the series that still gets fixes, and what changed
What changed in 3.5.0
- Version 3.5.0 added a detect for CSS Grid, in the standard syntax and the old proposal's syntax[6]
What Modernizr sites add on top
How many of the 69 Modernizr sites we scanned also run each tool, grouped by what the tool does
Tag manager
Analytics
Cookie consent
Online store
Search visibility
The full bar means every Modernizr site. A site can run several tools for one job, so the shares of tools in one group can add up to more than 100%.
How Modernizr sites protect themselves
Share of the 69 sites we scanned that run each protection
HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS
reCAPTCHA is a free service from Google that helps protect websites from spam and abuse
Akamai Bot Manager detect bots using device fingerprinting bot signatures
Protections add up, they do not replace each other: a site can run all of them.
At a glance
UptimeCard's own scans and tests of 2,539 websites · refreshed weekly
How Modernizr sites scoreout of 100 · hover or tap a score for details
Page load time
Loads about 15% slower than the average site
Most Modernizr sites load in 3.3–4.6 s. Home page weight: 3.8 MB vs 3.4 MB for all sites. 8 public sites measured.
Who uses it?
Technology and Software is the biggest group
Share of 8 classified public sites. “× average” compares with all 961 public sites.
How Modernizr sites are built
Closest partners. The number says how many times more often the tool runs on Modernizr sites than on an average website. Hover a partner for its share of sites.
Stacks we see most. Tools that tend to run together with Modernizr on the same websites. The percentage is the share of all 69 Modernizr sites that run the whole stack.
Similar tools in its category
JavaScript libraries: 253 tools known, 108 seen in our scans
Websites using Modernizr
69 websites use Modernizr: 2.7% of the 2,539 websites we scanned in the last 12 months. A selection is shown below.
| Website | Industry | Hosted | Load time · size | Scores ⓘ | Status |
|---|---|---|---|---|---|
| Automotive | United StatesAkamai Technologies, Inc. | 2.8 s · 1.4 MB | P45A87B100S100 | ||
| Software as a Service (SaaS) | United StatesAmazon.com, Inc. | 4.4 s · 18.1 MB | P33A86B92S77 | ||
| Technology and Software | NetherlandsYour Hosting B.V. | 5.4 s · 5.5 MB | P34A87B96S85 | ||
| Technology and Software | United StatesSquarespace, Inc. | 3.5 s · 27.6 MB | P44A78B96S92 | ||
| Educational Resources | United StatesExpedient | 2.2 s · 3.1 MBFast | P69A100B100S100 | ||
| Business Services | AustraliaVocus PTY LTD | 4.1 s · 2.1 MB | P50A89B50S92 | ||
| Technology and Software | CanadaCloudflare, Inc. | 3.9 s · 4.4 MB | P60A83B100S85 | ||
| Educational Resources | – | 5.1 s · 1.4 MB | P61A95B100S92 |
Scores are out of 100: P Performance · A Accessibility · B Best practices · S SEO. Green 80+, yellow 65–79, orange 50–64, red below 50. The dot shows whether our last scan found the site failing (red) or not (green); Red, amber or blue: an active incident on the site's status page (outage, degraded, maintenance) or a failing scan; amber also means a certificate ending within 30 days. Hover the dot for details.
Datdat.deAutomotiveUnited States2.8 s · 1.4 MBP45A87B100S100
Egnyteegnyte.comSoftware as a Service (SaaS)United States4.4 s · 18.1 MBP33A86B92S77
Boltricsboltrics.comTechnology and SoftwareNetherlands5.4 s · 5.5 MBP34A87B96S85
Meshemailsecurity.appTechnology and SoftwareUnited States3.5 s · 27.6 MBP44A78B96S92
Overdriveoverdrive.comEducational ResourcesUnited States2.2 s · 3.1 MBP69A100B100S100Messagexchangemessagexchange.comBusiness ServicesAustralia4.1 s · 2.1 MBP50A89B50S92
A Bet Aabeta.co.ukTechnology and SoftwareCanada3.9 s · 4.4 MBP60A83B100S85
MITmit.eduEducational Resources5.1 s · 1.4 MBP61A95B100S92
Who is behind Modernizr
From its own pages and public records, with sources
Modernizr
since 2009[9]
Its story
2009
The Modernizr repository was created on GitHub, starting the library for detecting browser features.[9]
2013
The team announced a complete architectural rewrite of the next major version, converting all of the community feature tests to a new loading structure so custom builds would be easier to make.[10]
2015
The next major version was released after almost two and a half years without a release, with a rebuilt site and builder, new detects, and a license change from BSD to MIT.[4]
2017
Version 3.5.0 added a detect for CSS Grid in both the standard and legacy syntaxes, so sites could test for grid support.[6]
2024
Version 3.13.1 was published and is the newest release on GitHub.[5]
Questions about Modernizr
- What is Modernizr?
- Modernizr is a JavaScript library that detects which HTML, CSS and JavaScript features a visitor's browser supports. It is free, open source software under the MIT license.
- What is Modernizr used for?
- Test results let a page change its behavior to match what the visitor's browser can do. Use new browser features where they exist without leaving users of older browsers behind. Reports which HTML, CSS and JavaScript features the visitor's browser has to offer. The documentation shows how to add a custom test whose result is stored on the Modernizr object. Modernizr is one of the javascript libraries tools websites use. In our scans it is #14 of the 108 we see. It is often installed next to Bootstrap, jQuery UI, Facebook Pixel.
- What is feature detection?
- Feature detection checks programmatically whether a browser supports a feature, instead of guessing from which browser the visitor uses.[2]
- How do I read a Modernizr result?
- Each test adds a property to the Modernizr object, and you check that property for truthiness.[2]
- Which license does Modernizr use?
- MIT. The project moved from a BSD license to MIT with its major version rewrite.[4]
- Can I create a custom build?
- Yes. The site has a builder that creates a build with the detects you choose, and the build system is also available through npm.[4]
- How many websites use Modernizr?
- We found Modernizr on 69 of the 2,539 websites we scanned in the last 12 months (2.7%). 8 of them have a public status page.
- What are the alternatives to Modernizr?
- Other javascript libraries tools we recognize include jQuery, core-js, Swiper, jQuery Migrate.
Is your website built with Modernizr?
Create a free status page that shows your visitors your site is up. It also gives your site its own public page where new people can discover it.
