Discourse Meta
关闭 body 前添加 Javascript 的任何批准方法?
支持
pmusaraj
(Penar Musaraj)
2020年十一月5日 02:25
6
您可以在内容安全策略站点设置中允许 eval,请参阅
使用内容安全策略减轻 XSS 攻击
。
不过我们不推荐这样做,因为这会使您的网站面临安全漏洞。
在主題中顯示貼文
相關主題
話題
回覆
觀看
活動
Need help with the content security policy
Support
3
794
2020年五月16日
Add javascript to a theme component
Development
4
1595
2020年六月17日
How to embed JavaScript script in front of ,</body> tag
Development
7
776
2023年九月16日
BlockAdBlock inserted in the footer but not working
Support
0
409
2021年五月20日
Javascript not working in customised areas
Support
8
1177
2019年五月14日