discourse论坛访问需要刷新

在访问discourse论坛时,虽然能够打开网页,但所有链接都无法点开。只有再刷新一下才能点开链接。

我怀疑是因为安装了 SwitchyOmega插件的原因,但不知道具体是怎么回事,请教各位给予指导。

F12 看看控制台有没有啥报错。

Refused to execute inline script because it violates the following Content Security Policy directive: “script-src https://forums.debiancn.org/logs/ https://forums.debiancn.org/sidekiq/ https://forums.debiancn.org/mini-profiler-resources/ https://forums.debiancn.org/assets/ https://forums.debiancn.org/brotli_asset/ https://forums.debiancn.org/extra-locales/ https://forums.debiancn.org/highlight-js/ https://forums.debiancn.org/javascripts/ https://forums.debiancn.org/plugins/ https://forums.debiancn.org/theme-javascripts/ https://forums.debiancn.org/svg-sprite/ ‘sha256-8uakdak4qxxceyzl0wxad2nnj2tgkya14hybh66pnn0=’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-8uAKDaK4QxxCeYZl0Wxad2Nnj2tgKyA14hYBh66pnn0=’), or a nonce (‘nonce-…’) is required to enable inline execution.

body_tag_1.js:2 hello
The FetchEvent for “https://s3.scriptcdn.net/cdn/c7fa7451-6f95-4815-ac32-b8cc2537837a” resulted in a network error response: the promise was rejected.
NetworkFirst.js:120 Uncaught (in promise) no-response: no-response :: [{“url”:“https://s3.scriptcdn.net/cdn/c7fa7451-6f95-4815-ac32-b8cc2537837a”}]
at w._handle (https://forums.debiancn.org/assets/workbox-84721eb2561c34fa8575f276d429c215/workbox-strategies.prod.js:1:5420)
at async w.Rt (https://forums.debiancn.org/assets/workbox-84721eb2561c34fa8575f276d429c215/workbox-strategies.prod.js:1:3855)
contentScript.js:6 Loaded new content
c7fa7451-6f95-4815-ac32-b8cc2537837a:1 Failed to load resource: net::ERR_FAILED

你是不是安装了什么奇怪的扩展?本论坛并不会加载来自 s3.scriptcdn.net 的内容,并且这个域名被 uBO 拦截了。其中的代码是混淆过的。

卸载了几个插件,包括拦截广告的插件后恢复了正常。谢谢。