- Goal: I want to embed common tweets.
- ↑ It is possible to embed like this. embed.html
<blockquote class="twitter-tweet" data-theme="dark"><p lang="en" dir="ltr">Sunsets don't get much better than this one over <a href="https://twitter.com/GrandTetonNPS?ref_src=twsrc%5Etfw">@GrandTetonNPS</a>. <a href="https://twitter.com/hashtag/nature?src=hash&ref_src=twsrc%5Etfw">#nature</a> <a href="https://twitter.com/hashtag/sunset?src=hash&ref_src=twsrc%5Etfw">#sunset</a> <a href="http://t.co/YuKy2rcjyU">pic.twitter.com/YuKy2rcjyU</a></p>— US Department of the Interior (@Interior) <a href="https://twitter.com/Interior/status/463440424141459456?ref_src=twsrc%5Etfw">May 5, 2014</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- The embed HTML looks like this.
- However, since widgets.js is not being loaded, it is not being displayed as if it were real.
-
I briefly thought that it might be possible to load https://platform.twitter.com/widgets.js in Scrapbox, but it doesn’t work like that.
- Of course, even if widgets.js can be loaded, the further process is blocked by CSP.
-
I wonder if it’s possible to cleverly load widgets.js using something like tampermonkey.
- (I feel like I’m making an ignorant statement)
-
/yuiseki/tweetのURLがある行にtweet埋め込みを表示する
- Wisdom from the past