我在论坛安装 Pure Chat 脚本时遇到了问题,因为 Discourse 启用了白名单过滤以进行安全保护。我尝试将几个 Pure Chat 链接添加到白名单中,但 Pure Chat 的对话选项卡仍然无法显示。恳请协助,以下是错误信息:
legacy.111147.js:1 Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive:
at new Function (<anonymous>)
at Function.b.template (legacy.111147.js:1)
at Module.<anonymous> (legacy.111147.js:32)
at n (legacy.111147.js:1)
at Object.<anonymous> (legacy.111147.js:32)
at n (legacy.111147.js:1)
at legacy.111147.js:1
at legacy.111147.js:1