这些帖子使用了一个 iframe,当 iframe 源被列入白名单时,它就能工作,例如:
<iframe src="https://mastodontti.fi/@jagster/109375542625679201/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
您的问题很可能是因为 https://foorumi.katiska.eu/ 可能已将 https://mastodontti.fi/ 列入 iframe 源白名单(站点设置 allowed iframes),但没有将 https://kvarkki.nexus/ 列入白名单。
在 try.discourse.org 上,没有将 kvarkki 列入白名单时是这样的:
而将其列入白名单后是这样的:
内容是:
<iframe src="https://kvarkki.nexus/@jagster/113763726148314458/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="100%" allowfullscreen="allowfullscreen"></iframe>
(顺便说一句,您链接的示例中的脚本标签被完全忽略了,只有 iframe 是有用/必需的)
… 在这里有一个关于“如何在您的网站上启用 Mastodon 嵌入”的指南可能会很方便。
Mastodon 的去中心化特性非常棒……除了没有简单的方法可以“允许所有 Mastodon 嵌入”,因为它可能是任何域。
我会思考一下。

