테마의 /head에 JavaScript를 추가해도 작동하지 않음 (UserWay)

여러분 안녕하세요,

UserWay Accessibility 위젯을 추가하기 위해 테마를 커스터마이즈하려고 합니다. UserWay에서 제공한 코드를 /head 부분에 그대로 복사하여 붙여넣었습니다. 실제로 다른 Discourse 계정(이 계정)에서 이 코드가 사용되고 있는 것을 확인했습니다.

아래는 해당 코드입니다:

<!-- UserWay accesibility widget -->
<script type="text/javascript">
var _userway_config = {
/* uncomment the following line to override default position*/
/* position: '1', */
/* uncomment the following line to override default size (values: small, large)*/
/* size: 'large', */
/* uncomment the following line to override default language (e.g., fr, de, es, he, nl, etc.)*/
/* language: 'null', */
/* uncomment the following line to override color set via widget (e.g., #053f67)*/
/* color: '#5BC0BE', */
/* uncomment the following line to override type set via widget (1=person, 2=chair, 3=eye, 4=text)*/
/* type: '1', */
/* uncomment the following lines to override the accessibility statement*/
/* statement_text: "Our Accessibility Statement", */
/* statement_url: "community.fatbesties.ca/accessibility-statement", */
/* uncomment the following line to override support on mobile devices*/
/* mobile: true, */
account: 'ACCOUNT_INFORMATION'
};
</script>
<script type="text/javascript" src="https://cdn.userway.org/widget.js"></script>

그리고 스크린샷입니다.

어떤 제안이 있을까요?

https://cdn.userway.org를

content_security_policy_script_src

사이트 설정에 추가해 보고 문제가 해결되는지 확인해 보세요.

아래와 같이

고마워요, @Johani! 성공했어요! :clap: :clap: :clap: :clap: