Twitter/X - clickable links to images and show uncropped thumbnails

All image posts in Twitter/X Home, other blog streams and single post views link to the high-res "orig" version. Thumbnail images in the stream are modified to display uncropped.

< 脚本Twitter/X - clickable links to images and show uncropped thumbnails的反馈

评价:好评 - 脚本运行良好

§
发表于:2020-11-22

this works really well. thank you! is there a chance you can look at the div class r-1adg3ll r-13qz1uu which contains a "padding-bottom: 56.25%;" and let us adjust this? i would prefer 100% since the thumbs would essentially be twice as big and show more detail

marp作者
§
发表于:2020-11-22

I assume you ar talking about doing this in the feed view, mostly?
I tried that but it doesn't work right, unfortunately.
-> The Twitter react UI keeps track of "supposed" post heights, internally.
Modifying the height to something different than that internally stored value seriously messes up endless scrolling (in general but esp. back upwards) and navigation between feeds and individual threads/posts.

If you have a tip on how to avoid these nasty side-effects and/or how to get reliably (React IDs are not stable) at the internally stored values -> I'd be willing to give it another try...

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址