Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
8 matches across 3 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | feature-detects/iframe/seamless.js | 9 | "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless" |
| MEDIUM | feature-detects/iframe/seamless.js | 9 | "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless" |
| MEDIUM | feature-detects/storage/cookies.js | 16 | // navigator.cookieEnabled cannot detect custom or nuanced cookie blocking |
| MEDIUM | test/browser/integration/caniuse.js | 275 | // safari 7 recognizes the `seamless` attribute but does not actually support it |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | feature-detects/typed-arrays.js | 21 | Does not check for DataView support; use `Modernizr.dataview` for that. |
| LOW | feature-detects/geolocation.js | 21 | */ |
| LOW | feature-detects/storage/localstorage.js | 21 | // throw bugzil.la/365772 if cookies are disabled |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | feature-detects/css/hyphens.js | 59 | span.innerHTML = 'Bacon ipsum dolor sit amet jerky velit in culpa hamburger et. Laborum dolor proident, enim d |