webpage asking for polyfill.io signin? #347
Checks
Link to your website repohttps://github.com/KwonVitalLab/KwonVitalLab.github.io Version of Lab Website Template you are using1.1.0 DescriptionIt just happened today. When opening the webpage (https://kwonvitallab.github.io/), it asks for polyfill.io. When searching google, it says to remove any script including polyfill.io, but I could not find from the gitrepo. Could you help me with it? |
Replies: 2 comments 1 reply
|
I think what is happening is that Jekyll Spaceship is auto-including MathJax and a polyfill. The MathJax version it's using is old. The polyfill is unnecessary because it is there for backwards compatibility with very very old browsers that almost no one uses, and that moreover the template doesn't support. And it looks like polyfill.io has just recently started maliciously showing the login popup and has had security incidents in the past. Can you try adding the following to your jekyll-spaceship:
mathjax-processor:
src:
- https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.jsHopefully this does not make all the other Jekyll Spaceship defaults get un-set. Be on the lookout for that. |
|
I put the fix in the base template here: |

view-source:https://kwonvitallab.github.io/I think what is happening is that Jekyll Spaceship is auto-including MathJax and a polyfill. The MathJax version it's using is old. The polyfill is unnecessary because it is there for backwards compatibility with very very old browsers that almost no one uses, and that moreover the template doesn't support.
And it looks like polyfill.io has just recently started maliciously showing the login popup and has had security incidents in the past.
Can you try adding the following to your
_config.yamlfile to try to upgrade the MathJax version and exclude the polyfill: