scruel / tampermonkey-scripts

Naïve scripts by naïve ideas.
41 stars 3 forks source link

无法加载Mathjax,控制台提示违反CSP #21

Closed StackExplode closed 3 months ago

StackExplode commented 11 months ago

如题,使用最新版0.6.12,无法加载Mathjax,控制台输出错误如下:

Refused to load the script 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js' because it violates the following Content Security Policy directive: "script-src-elem 'unsafe-inline' https://widget.intercom.io https://*.oaistatic.com js.stripe.com challenges.cloudflare.com https://tcr9i.chat.openai.com https://cdn.openai.com js.intercomcdn.com auth0.openai.com https://chat.openai.com".

使用油猴版本:v4.20.6185 浏览器:360极速模式,Chrominum内核版本:86.0.4240.198

Provincials commented 5 months ago

我也遇到这个问题

scruel commented 3 months ago

https://github.com/scruel/tampermonkey-scripts/issues/8#issuecomment-1463129165