Remove the polyfill.io script from the docs - #2625
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
polyfill.iodomain 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-pageswas swept separately (3519 files across 6.2–6.7, one identical line removed from each) and is already live.