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...

返信を投稿

返信を投稿するにはログインしてください