Discourse Meta
关闭 body 前添加 Javascript 的任何批准方法?
支持
pmusaraj
(Penar Musaraj)
2020 年11 月 5 日 02:25
6
您可以在内容安全策略站点设置中允许 eval,请参阅
使用内容安全策略减轻 XSS 攻击
。
不过我们不推荐这样做,因为这会使您的网站面临安全漏洞。
1 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Need help with the content security policy
Support
4
760
2020 年6 月 15 日
Add javascript to a theme component
Development
4
1488
2020 年6 月 17 日
How to embed JavaScript script in front of ,</body> tag
Development
8
699
2023 年10 月 17 日
BlockAdBlock inserted in the footer but not working
Support
0
368
2021 年5 月 20 日
Javascript not working in customised areas
Support
9
1121
2019 年5 月 15 日