this post was submitted on 16 Jun 2023
12 points (100.0% liked)

Kbin Userstyles and Userscripts

15 readers
1 users here now

Custom CSS and JS to help improve your Kbin experience! ### Userscripts Greasy Fork ### Stylesheets UserStyles.world ### Userscript managers

founded 1 year ago
 

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

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (2 children)

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

maybe i missed something?

[–] [email protected] 2 points 1 year ago (1 children)

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)

[–] [email protected] 1 points 1 year ago

yeah thank you that was the problem!

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago

It works perfectly, thank you!!

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

Android Firefox Nightly + Tampermonkey + PWA

[–] [email protected] 1 points 1 year ago

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