https://github.com/oscarotero/polyfills
List of polyfills to use modern things safely
https://github.com/oscarotero/polyfills
html5 javascript polyfill
Last synced: 2 months ago
JSON representation
List of polyfills to use modern things safely
- Host: GitHub
- URL: https://github.com/oscarotero/polyfills
- Owner: oscarotero
- License: mit
- Created: 2018-05-24T21:07:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T11:07:54.000Z (4 months ago)
- Last Synced: 2025-01-31T13:11:19.784Z (3 months ago)
- Topics: html5, javascript, polyfill
- Homepage:
- Size: 22.5 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polyfills
List of polyfills
Feature | Support | Polyfill
--------|---------|---------
`fetch()` | [caniuse](https://caniuse.com/#feat=fetch) | [github/fetch](https://github.com/github/fetch)
`Promise` | [caniuse](https://caniuse.com/#feat=promises) | [taylorhakes/promise-polyfill](https://github.com/taylorhakes/promise-polyfill)
Smooth scroll | [caniuse](https://caniuse.com/#feat=css-scroll-behavior) | [iamdustan/smoothscroll](https://github.com/iamdustan/smoothscroll)
`` | [caniuse](https://caniuse.com/#feat=picture) | [scottjehl/picturefill](https://github.com/scottjehl/picturefill)
`matchMedia()` | [caniuse](https://caniuse.com/#feat=matchmedia) | [paulirish/matchMedia.js](https://github.com/paulirish/matchMedia.js)
`` | [caniuse](https://caniuse.com/#feat=dialog) | [GoogleChrome/dialog-polyfill](https://github.com/GoogleChrome/dialog-polyfill)
Pointer events | [caniuse](https://caniuse.com/#feat=pointer) | [jquery/PEP](https://github.com/jquery/PEP)
`UrlSearchParams` | [caniuse](https://caniuse.com/#feat=urlsearchparams) | [WebReflection/url-search-params](https://github.com/WebReflection/url-search-params)
`` | [caniuse](https://caniuse.com/#search=datalist) | [mfranzke/datalist-polyfill](https://github.com/mfranzke/datalist-polyfill)
`` | [caniuse](https://caniuse.com/#feat=iframe-srcdoc) | [jugglinmike/srcdoc-polyfill](https://github.com/jugglinmike/srcdoc-polyfill)
`IntersectionObserver` | [caniuse](https://caniuse.com/#feat=intersectionobserver) | [w3c/IntersectionObserver](https://github.com/w3c/IntersectionObserver/tree/master/polyfill)
`` | [caniuse](https://caniuse.com/#feat=details) | [javan/details-element-polyfill](https://github.com/javan/details-element-polyfill)
`document.scrollingElement` | [caniuse](https://caniuse.com/#feat=document-scrollingelement) | [mathiasbynens/document.scrollingElement](https://github.com/mathiasbynens/document.scrollingElement)
DOM Level 4 methods
`element.closest`
`element.matches`
`element.classList`
"once" events
"passive" events
Custom events
`RequestAnimationFrame` | [caniuse (DOM 4)](https://caniuse.com/#feat=dom-manip-convenience)
[caniuse (closest)](https://caniuse.com/#feat=element-closest)
[caniuse (matches)](https://caniuse.com/#search=matches)
[caniuse (classList)](https://caniuse.com/#feat=classlist)
[caniuse ("once" events)](https://caniuse.com/#feat=once-event-listener)
[caniuse ("passive" events)](https://caniuse.com/#feat=passive-event-listener)
[caniuse (custom events)](https://caniuse.com/#feat=customevent)
[caniuse (requestAnimationFrame)](https://caniuse.com/#feat=requestanimationframe) | [WebReflection/dom4](https://github.com/WebReflection/dom4)
`IndexedDB` | [caniuse](https://caniuse.com/#feat=indexeddb) | [axemclion/IndexedDBShim](https://github.com/axemclion/IndexedDBShim)
`FormData` | [caniuse](https://caniuse.com/#feat=xhr2) | [jimmywarting/FormData](https://github.com/jimmywarting/FormData)
Clipboard API | [caniuse](https://caniuse.com/#feat=clipboard) | [lgarron/clipboard-polyfill](https://github.com/lgarron/clipboard-polyfill)
`` | [caniuse](https://caniuse.com/#feat=template) | [webcomponents/template](https://github.com/webcomponents/template)
`window.location.origin` | [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/origin) | [kylewelsby/window-location-origin](https://github.com/kylewelsby/window-location-origin)
`window.navigator.sendBeacon()` | [caniuse](https://caniuse.com/#feat=beacon) | [miguelmota/Navigator.sendBeacon](https://github.com/miguelmota/Navigator.sendBeacon)
Web Animations API | [caniuse](https://caniuse.com/#feat=web-animation) | [web-animations/web-animations-js](https://github.com/web-animations/web-animations-js)
Custom elements | [caniuse](https://caniuse.com/#feat=custom-elementsv1) | [webcomponents/custom-elements](https://github.com/webcomponents/custom-elements)
`URL` | [caniuse](https://caniuse.com/#feat=url) | [webcomponents/URL](https://github.com/webcomponents/URL)
`HTMLFormElement.requestSubmit()` | [caniuse](https://caniuse.com/#feat=mdn-api_htmlformelement_requestsubmit) | [javan/form-request-submit-polyfill](https://github.com/javan/form-request-submit-polyfill)
`:focus-visible` | [caniuse](https://caniuse.com/#feat=mdn-css_selectors_focus-visible) | [WICG/focus-visible](https://github.com/WICG/focus-visible)
Scroll-to-Text fragment | [caniuse](https://caniuse.com/url-scroll-to-text-fragment) | [text-fragments-ts](https://code.treora.com/gerben/text-fragments-ts)
Scroll timeline | [spec](https://drafts.csswg.org/scroll-animations-1/) | [flackr/scroll-timeline](https://github.com/flackr/scroll-timeline)
Container Query | [spec](https://drafts.csswg.org/css-contain-3/), [caniuse](https://caniuse.com/css-container-queries) | [container-query-polyfill](https://github.com/GoogleChromeLabs/container-query-polyfill)
`popover` attribute | [caniuse](https://caniuse.com/mdn-html_global_attributes_popover) | [oddbird/popover-polyfill](https://github.com/oddbird/popover-polyfill)
`URLPattern` | [caniuse](https://caniuse.com/mdn-api_urlpattern), [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URLPattern) | [kenchris/urlpattern-polyfill](https://github.com/kenchris/urlpattern-polyfill)
Invoker Commands API | [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API) | [keithamus/invokers-polyfill](https://github.com/keithamus/invokers-polyfill)