Skip to content

Remove the polyfill.io script from the docs - #2625

Merged
akenmorris merged 1 commit into
masterfrom
amorris/remove-polyfill-io
Aug 12, 2026
Merged

Remove the polyfill.io script from the docs#2625
akenmorris merged 1 commit into
masterfrom
amorris/remove-polyfill-io

Conversation

@akenmorris

Copy link
Copy Markdown
Contributor

The polyfill.io domain changed hands in 2024 and now serves hostile responses to anyone still loading it. Browsers surface that as a spurious username/password dialog on our docs pages, which is what visitors have been reporting on https://sciinstitute.github.io/ShapeWorks/latest/. Nothing of ours was compromised — the behavior is entirely on their end.

The tag came from the old MkDocs-Material MathJax snippet. MathJax 3 needs no ES6 polyfill on any browser it still supports, so it is dropped rather than repointed at the Cloudflare mirror.

Removing it here only affects newly built docs — the tag is baked into every generated page — so the published HTML on gh-pages was swept separately (3519 files across 6.2–6.7, one identical line removed from each) and is already live.

The polyfill.io domain changed hands in 2024 and now serves hostile
responses to anyone still loading it, which browsers surface as a spurious
login prompt on our docs pages. MathJax 3 needs no ES6 polyfill on any
browser it supports, so the tag is dropped rather than repointed at a mirror.

The already-published HTML on gh-pages was swept separately, since the tag
is baked into every generated page.
@akenmorris
akenmorris merged commit e359987 into master Aug 12, 2026
5 checks passed
@akenmorris
akenmorris deleted the amorris/remove-polyfill-io branch August 12, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant