Compatibility
Compatible with iOS 8.0 +
Description
Provides polyfills for some JavaScript features that are not available on old iOS versions.
Up until 2025, iOS 15 and lower are considered "old". A lot of websites would outright stop working on these versions as they no longer provide necessary polyfills.
Changelog
1.8.1: Fixed the same polyfill scripts being injected multiple times
1.8.0:
Added polyfill for Array.toReversed
Fixed polyfill compatibility with iOS 13.0 and lower
1.7.1: Rewrote polyfill for RegExp lookbehind
1.7.0:
Replaced existing streams polyfills with the unified one from @stardazed/streams-polyfill
Fixed polyfill for Array.at, Array.findLast and Array.findLastIndex
1.6.2:
Downgraded spoofed iOS version to 16.0 to improve compatibility on old devices
Restricted certain polyfills to execute only on the maximum unsupported iOS version and lower
1.6.0:
Fixed broken polyfill for RegExp lookbehind
Fixed spoofing user agent not working on non-Safari browsers
Added polyfill for BroadcastChannel API
Restricted WebStreams API polyfill to iOS 14.1 and lower
1.5.1: Fixed websites always loading in desktop mode
1.5.0:
Spoofed the user agent to iOS 18.5
Added polyfill for RegExp lookbehind
1.4.0:
Added missing polyfill for Web Streams API (necessary for CompressionStream API)
Added polyfill for Element.checkVisibility
Removed problematic `max-width: 100% and overflow-x: hidden` CSS
1.3.0:
Allows polyfills to be injected into iframes
Added polyfill for CompressionStream API
Fixed support for old iOS versions
1.2.0: Added polyfills for Promise.allSettled and the meta viewport min-width
1.1.1: Removed the code that removes all other user scripts
1.1.0:
Minified all JavaScript codes before injecting
Added support for injecting JavaScript after the document is loaded
Added polyfills for Array.findLast, Array.findLastIndex, Object.hasOwn and String.replaceAll
Added `max-width: 100% and overflow-x: hidden` CSS for html and body to fix incomplete page width on iOS 14 and lower