cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Problems with Application Loading on iOS After Switching Polyfill CDN

Open merouaneamqor opened this issue 1 year ago • 2 comments

Recently, the Polyfill.io domain was acquired by Funnull, a Chinese company. This acquisition led to the domain being used to deliver malicious JavaScript code, which redirected users to scam, gambling, or other malicious sites.

To address this security concern, we updated our website to use a more secure CDN provided by Cloudflare. More information about this change can be found in Cloudflare's blog post.

However, this change has caused some of our users to experience issues with the application loading correctly, particularly iOS users on Safari and Chrome.

We are seeking assistance in diagnosing and resolving the loading issues experienced by our iOS users after this CDN switch. Any insights or recommendations would be greatly appreciated.

merouaneamqor avatar Jul 04 '24 17:07 merouaneamqor

We have the same issue. On iOS versions 15 and before, using Chrome (latest version), loading the Array.prototype.toSorted polyfill from https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0 does not result in a polyfilled Array.prototype.toSorted. The function is still undefined after successfully loading the polyfill.

classroomscreen avatar Nov 25 '24 13:11 classroomscreen

Any update on this? We are looking into switching build-time polyfilling to use cloudflares hosted solution but finding this while researching this makes me think it might not be a good idea.

anders-photowall avatar May 28 '25 05:05 anders-photowall