this post was submitted on 15 Jun 2023
115 points (100.0% liked)

/kbin meta

639 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 1 year ago
 

Just a quick and dirty userscript to add some features I feel are super important. I'll probably look into creating some real PRs, but I figure the devs are probably in "put out fires" mode right now.

EDIT:
Added a few more features and cleaned up the expand / collapse UI. All features are toggleable in the kbin sidebar.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (3 children)

Can you make this two scripts with separate functions? I currently use https://greasyfork.org/en/scripts/468460-kbin-collapsible-comments and like the clickable comment header.

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

Thanks for this. Is it possible to change the color of the home instance to be more noticeable? Also I think the "@" is being dropped from the replace.

I assume its would need to be in this line, but it's been 20 years since I coded anything and have no idea what script language this is.

var homeinstance2 = homeinstance.replace( "/u/@" + myname + "@" , '');

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

Hey - with the dark and light mode - I'll take a while to change the colour - for now I've made it in italics, so if anything - a 2nd script can change the colour of the community name

it's showing

name - community

not breaking up the users URL / address with a dach

name - @community

it's possible to make it

name@community - but that's less readable

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

Thanks a ton for doing that. I appreciate it. I'm just having difficulty noticing when I'm replying to people on other platforms, so some assumed knowledge gets left out when not knowing who I'm speaking to.

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

I'll add two red colour styles tomorrow which changes brightness based on dark mode or not

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

The script adds toggles for both features under the settings area so you can just toggle off comment collapsing if you already have a script that does that.

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

oooh.. its an icon to the left of search.. i was looking underneath per the screenshot lol

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

You can turn on and off features in the kbin settings sidebar