Skip to content

Remove polyfill.io script from MathJax configuration - #1

Merged
tommcd merged 1 commit into
mainfrom
claude/remove-polyfill-io-j5vags
Jul 20, 2026
Merged

Remove polyfill.io script from MathJax configuration#1
tommcd merged 1 commit into
mainfrom
claude/remove-polyfill-io-j5vags

Conversation

@tommcd

Copy link
Copy Markdown
Owner

Summary

Removed the polyfill.io CDN script from the MathJax configuration in mkdocs.yml.

Changes

  • Removed the https://polyfill.io/v3/polyfill.min.js?features=es6 script reference from the extra_javascript section
  • Kept the MathJax CDN script (https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js) intact

Details

The polyfill.io script was used to provide ES6 compatibility for older browsers. This removal suggests either:

  • Modern browser support requirements have been updated
  • MathJax 3 handles its own polyfill needs
  • The polyfill is no longer necessary for the project's target audience

https://claude.ai/code/session_01G5vc9wqkCztZEk3xJVse2K

The polyfill.io CDN changed ownership in 2024 and was used in a
supply-chain attack to inject malicious redirects/pop-ups. It was only
needed as a legacy MathJax shim for old browsers (e.g. IE11) and current
MathJax guidance recommends removing it. MathJax loads fine without it on
modern browsers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5vc9wqkCztZEk3xJVse2K
CopilotAI review requested due to automatic review settings July 19, 2026 23:39

@gemini-code-assistgemini-code-assistBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the polyfill.io script from the extra_javascript configuration in mkdocs.yml. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the MkDocs site configuration by removing the polyfill.io ES6 polyfill CDN entry while keeping MathJax enabled for equation rendering.

Changes:

  • Removed https://polyfill.io/v3/polyfill.min.js?features=es6 from extra_javascript
  • Retained the MathJax v3 CDN script for TeX/MathML rendering

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tommcd
tommcd merged commit 9a9ff56 into mainJul 20, 2026
1 check passed
@tommcd
tommcd deleted the claude/remove-polyfill-io-j5vags branch July 20, 2026 18:46
Sign up for freeto 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.

3 participants

@tommcd@claude