# 테마 컴포넌트의 사용자 지정 JS 스크립트가 로드되지 않음

**URL:** https://meta.discourse.org/t/custom-js-script-in-theme-component-not-loading/172843
**Category:** Support
**Created:** [12월 10, 2020, 9:52오전 UTC](https://meta.discourse.org/t/custom-js-script-in-theme-component-not-loading/172843 "2020-12-10T09:52:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Leticia\_Escanciano](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leticia_escanciano/32/202889_2.png) [@Leticia\_Escanciano](https://meta.discourse.org/u/Leticia_Escanciano)
#### Post date: [12월 10, 2020, 9:52오전 UTC](https://meta.discourse.org/t/custom-js-script-in-theme-component-not-loading/172843/1 "2020-12-10T09:52:19Z")

</div>

안녕하세요!  
`</head>` 태그에 커스텀 스크립트를 로드하려고 하는데 작동하지 않습니다.  
다음 [가이드](https://meta.discourse.org/t/mitigate-xss-attacks-with-content-security-policy/104243)에 따라 CSP에 src를 추가해 보았지만 성공하지 못했습니다.

도와주실 수 있는 분 계신가요? 혹시 제가 놓친 추가 설정이 있을까요?  
감사합니다!

 ![Screenshot 2020-12-10 at 10.49.59](https://global.discourse-cdn.com/meta/original/3X/e/5/e57a945b66300d0d2940447a48a49b4a544b7cef.png)

---

<div class="post-metadata">

### Author: ![Leticia\_Escanciano](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leticia_escanciano/32/202889_2.png) [@Leticia\_Escanciano](https://meta.discourse.org/u/Leticia_Escanciano)
#### Post date: [12월 10, 2020, 9:56오전 UTC](https://meta.discourse.org/t/custom-js-script-in-theme-component-not-loading/172843/2 "2020-12-10T09:56:33Z")

</div>

아니야, 제가 테마에 컴포넌트를 추가하지 않았었어 🤐

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [1월 9, 2021, 9:56오전 UTC](https://meta.discourse.org/t/custom-js-script-in-theme-component-not-loading/172843/3 "2021-01-09T09:56:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
