From 21bc463b777a318d9e5b4204a8f0587f138c9be5 Mon Sep 17 00:00:00 2001 From: Sukka Date: Mon, 4 Mar 2024 22:37:16 +0800 Subject: [PATCH] Replace `polyfill.io` (#2241) The PR replaces `polyfill.io` inside the template with `cdnjs.cloudflare.com/polyfill`. --- `polyfill.io` was acquired by **a China-based CDN company** "Funnull", see [the announcement from the `polyfill.io` domain owner's Twitter](https://x.com/JakeDChampion/status/1761315227008643367) and https://github.com/polyfillpolyfill/polyfill-service/issues/2834. Despite Funnull's claims of operating in the United States, the predominance of Simplified Chinese on its website suggests otherwise, and it turns out that **"Funnull" is notorious for providing service for the betting and pornography industries**. [The original creator of the `polyfill.io` has voiced his concern on Twitter](https://twitter.com/triblondon/status/1761852117579427975). And since the acquisition, numerous issues have emerged (https://github.com/polyfillpolyfill/polyfill-service/issues/2835, https://github.com/polyfillpolyfill/polyfill-service/issues/2838, https://github.com/alist-org/alist/issues/6100), rendering the `polyfill.io` service **extremely unstable**. Since then, Fastly ([Announcement](https://community.fastly.com/t/new-options-for-polyfill-io-users/2540)) and Cloudflare ([Announcement](https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk)) has hosted their own instances of `polyfill.io` service. --- _includes/scripts/mathjax.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/scripts/mathjax.liquid b/_includes/scripts/mathjax.liquid index cf5b3a39d3bf..7a454835721a 100644 --- a/_includes/scripts/mathjax.liquid +++ b/_includes/scripts/mathjax.liquid @@ -13,5 +13,5 @@ id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@{{ site.mathjax.version }}/es5/tex-mml-chtml.js" > - + {% endif %}