无法看到 AdSense 广告 - 使用官方 Discourse 广告插件

There were previous topics relating to this issue, but none of them helped!!

I have copy/pasted the code from google adsense for account activation. Every time google says code is not pasted in the format needed and account does not get activated. Then i saw the following error in the browser console

Refused to load the script ‘’ because it violates the following Content Security Policy directive: “script-src ‘unsafe-eval’ ‘report-sample’ ‘unsafe-inline’ 'unsafe-eval”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.

The content security policy is enabled in the settings. I tried whitelisting the script-src from google adsense, but nothing works.

This is frustating!

4 个赞

关于升级旧论坛后遇到同样问题,有人有任何反馈吗?不过是在脚本方面。

我禁用了“内容安全策略”,但问题依旧……

1 个赞

我也遇到了这个问题。我已经卡了好几天,一直在尝试在我的网站上配置这个插件。:confused:

1 个赞

一样!有什么解决方案吗?

2 个赞