Files
compiler-explorer/views
PartoufandClaude Opus 5 8453d93da2 Redirect old browsers, not just IE11, to the noscript site
The inline check in the layout only caught IE11, via two IE-specific
globals. Browsers like Chrome 49 sailed past it and then died parsing
our bundles, leaving a blank page rather than the noscript fallback.

Replace the IE11 sniff with a feature check for globalThis and
String.prototype.replaceAll. replaceAll is the stricter of the two,
putting the cutoff around Chrome 85 / Firefox 77 / Safari 13.1, and
IE11 lacks both, so this subsumes the check it replaces rather than
adding to it.

The cutoff is a proxy for "can this browser parse our bundles" rather
than a measured floor, so it may drift as dependencies move on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 18:56:32 +02:00
..
2025-10-14 13:51:16 +02:00
2019-09-06 19:39:31 -04:00
2022-11-13 10:35:39 -06:00