Update: first milestone of my fork
Thanks for the feedback. My fork has kept the safe-mode banner away so far. My best guess for the cause is still a missing data-onebox-src attribute, but that isn’t confirmed, so please treat it as experimental.
Since then I’ve added a few things, some of them wished for earlier in this thread:
- the plain link above a tweet disappears once the tweet has loaded (it stays if X can’t be reached)
- less jumping while tweets load, and no duplicate embeds
- dark mode for embeds
- bare X links that Discourse didn’t onebox are embedded too
- quoting a post with an X link no longer replaces your quote with the tweet
All credit for the original idea goes to @Lhc_fl. The fork was built with some AI help from Claude. I’d be glad to hear how it works for others.
Scroll position jumps when scrolling up in long topics
When scrolling up through a long topic, the page repeatedly jumps back down a bit once older, off-screen posts get rebuilt (presumably related to post cloaking). It’s disruptive enough that reading a long thread from the bottom up is hard.
I first suspected a theme component (native X/Twitter embeds resizing after reload), but the jump seems to happen independently of that too. Scrolling down doesn’t show the same issue, only up.
Discourse version: The latest and greatest. Has anyone else run into this, or is it a known issue?