Commit graph

4 commits

Author SHA1 Message Date
CRT
27a3b233f0 Chat+ link previews: players for Vimeo and SoundCloud too, image links show the image
The YouTube-only field becomes a general embed address, made natively only for the frame hosts
X's chat CSP allows (www.youtube.com, player.vimeo.com, w.soundcloud.com) and re-checked in the
page. A link to an image previews the image itself. YouTube's thumbnail comes as data.
2026-10-10 21:56:46 +08:00
CRT
328264bfe1 Chat+ link previews: a link in a chat shows its page's title, text and picture, YouTube playable in place
X's web chat shows a link as a bare card. An X tab on a chat page may now ask native code
(link_preview, x-capture only, chat pages only) for one link's preview. Native code fetches it:
https and public hosts only (addresses checked and pinned), never X's hosts, no cookies or
referrer, redirects re-checked, page head <= 512 KB, images <= 1.5 MB by magic bytes as data:,
30 fetches a minute, memory-only cache. Only the link leaves the page. On by default (owner,
2026-10-10).
2026-10-10 21:47:31 +08:00
CRT
435f05bd3e wayBetter for X 1.0.2 2026-10-02 02:54:04 +07:00
CRT
2f1e35ba20 wayBetter for X 2026-10-01 06:01:13 +07:00