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或关注我们的公众号极客氢云获取最新地址