Expand post body in feed

https://greasyfork.org/en/scripts/468826-kbin-post-expander

This script makes the shortened post bodies in the feed clickable, when you click it fetches the whole post and displays it.

You can click again to collapse the full post.

https://i.imgur.com/PLYLggc.mp4

12 points · 13 comments · view on lemmy.world

13 Comments

Noki@kbin.social · 3 pts · 3y (3 replies)

looks cool but does not work for me.
im on windows/firefox and have kbin enhancement script running.

maybe i missed something?

artillect@kbin.social · 2 pts · 3y (1 reply)

Do you have compact mode enabled? It doesn't seem to work with compact mode (since there's no shortened post body to click on)

Noki@kbin.social · 1 pts · 3y

yeah thank you that was the problem!

Habnab@kbin.social · 1 pts · 3y

hmmmm, I'm using the same setup as you, windows/firefox with enhancement script.

The script is using a greasymonkey function to get the content, are you using tampermonkey?
Anyways I just updated the script with a fallback for tampermonkey, perhaps try updating.

Amongog@kbin.social · 2 pts · 3y (3 replies)

Could it be possible to change it so instead or in addition of clicking the text, we could click the "post" symbol to expand the whole post?

This would work similarly to the "picture" symbol that displays the whole image from image posts.

I think maybe this way it could work with compact mode enable and with mobile users.

See picture attached.

Habnab@kbin.social · 1 pts · 3y
[ removed ]
Habnab@kbin.social · 1 pts · 3y (1 reply)

It should now work with compact mode both on desktop and mobile

Amongog@kbin.social · 2 pts · 3y

It works perfectly, thank you!!

Otome-chan@kbin.social · 1 pts · 3y

didn't work in violentmonkey so I installed tampermonkey and it's working.

Amongog@kbin.social · 1 pts · 3y (3 replies)

That looks awesome.
I haven't been able to make it work on mobile though.

Habnab@kbin.social · 2 pts · 3y (2 replies)

Which device/browser/way of running the script are you using?

Amongog@kbin.social · 1 pts · 3y (1 reply)

Android Firefox Nightly + Tampermonkey + PWA

Habnab@kbin.social · 1 pts · 3y

It was using a greasy monkey specific function, I've added a fallback for tampermonkey so try updating it.

I just tried in fennec with tampermonkey and it works for me