如何嵌入<script src=html></script>代码?

我尝试在模板文件中放入 header 或 body,但不起作用。另外,它与 Versatile banner 插件也不兼容。我是不是哪里做错了?

我是说这个:

<script type="text/javascript" url=https://url-script-here >...</script>
1 个赞

Is the script located on a domain other than your forum? If so, You will have to add that domain to CSP sources in admin for the script to work.

2 个赞

I have to add a root domain or an exact address ? is it a difference whether it’s https or not ?

1 个赞

It has to be the (sub)domain. I don’t think it’ll be possible to embed http link on a https forum but your mileage may vary.

1 个赞