Discourse Meta
我可以在页眉中添加一个代码片段吗?
支持
southpaw
(Southpaw)
2023 年2 月 7 日 04:25
4
您好
@dafegosa
,
我认为
内容安全策略主题的此部分中描述的站点设置中的选项 1 可能会对您正在做的事情有所帮助,但如果不行,该主题中还有很多有用的信息:
2 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Mitigate XSS Attacks with Content Security Policy
Site Management
how-to
,
content-security-policy
32
24251
2023 年6 月 13 日
After upgrade the content security policy script src for GTM
Data & reporting
4
1857
2021 年4 月 13 日
How to add analytics and pixel scripts avoiding Content Security Policy (XSS)
Data & reporting
analytics
2
330
2024 年9 月 7 日
Cannot add content security policy script src
Support
2
84
2025 年1 月 1 日
Can't get script tag to work in landing pages plugin due to content-security-policy
Support
5
91
2025 年7 月 1 日