Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace polyfill provider #9537

Closed
wants to merge 1 commit into from
Closed

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Mar 1, 2024

polyfill.io was inttroduced by @tarleb in #7838.

The PR replaces polyfill.io 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 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. And since the acquisition, numerous issues have emerged (polyfillpolyfill/polyfill-service#2835, polyfillpolyfill/polyfill-service#2838, AlistGo/alist#6100), rendering the polyfill.io service extremely unstable. Since then, Fastly (Announcement) and Cloudflare (Announcement) has hosted their own instances of polyfill.io service.

@@ -27,8 +27,7 @@ $for(header-includes)$
$header-includes$
$endfor$
$if(math)$
$if(mathjax)$
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
$if(mathjax)$https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
Copy link
Owner

Choose a reason for hiding this comment

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

This doesn't look right. Isn't the <script part missing? And a newline? Shouldn't it be like the html4 template?

Copy link
Owner

Choose a reason for hiding this comment

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

I'll just make the commit directly because it's clear what is needed.

@jgm jgm closed this Mar 1, 2024
@jgm
Copy link
Owner

jgm commented Mar 1, 2024

Thank you for this! I've made the change and will push it directly, crediting you.

@tarleb
Copy link
Collaborator

tarleb commented Mar 2, 2024

Just for the record: the history of the updated lines goes back to #8625, not #7838.

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.

3 participants