Skip to content

Files

Latest commit

a221bde · Jan 11, 2025

History

History
12 lines (7 loc) · 696 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 696 Bytes

GitHubWebLegacyCompat

A simplistic tweak to make GitHub's website work (accessible) on older versions of WebKit / iOS.

GitHub website nowadays uses a modern theming system that is not supported by older versions of WebKit, mainly the ::backdrop pseudo-element and @layer at-rules. To mitigate this, this tweak dynamically inserts new stylesheets into the page needed to make the website more accessible, with the unsupported syntax removed, using JavaScript.

Reference: Safari Release Notes

TODO

  • Improve how CSS files are declared
  • Fix layout issues in the website?