kbin Linked Comment Enhancer - Highlight comments that you open links to and scrolls to prevent them from being hidden

3 years ago by artillect to c/kbinStyles

Highlights the comment you were linked to and scrolls to it
-- 2 points 3 years ago

thank you my friend

path: 0 275130, hotness: undefined, score: 2, children: 0
BaroqueInMind 2 points 3 years ago

Thanks for the script!

path: 0 274500, hotness: undefined, score: 2, children: 0
minnieo 2 points 3 years ago

so grateful, thank you!

path: 0 275774, hotness: undefined, score: 2, children: 1
artillect 1 point 3 years ago

No problem, thanks for the idea!

path: 0 275774 275870, hotness: undefined, score: 1, children: 0
arkcom 2 points 3 years ago

Is it possible with a script to add a context link to posts in a users profile? Since notifications aren't working reliably, it would be nice to quickly get back to a comment to see if someone responded.

edit: There is already copy url under "more" which gives me some hope.

path: 0 278327, hotness: undefined, score: 2, children: 2
artillect 3 points 3 years ago

If you middle click, or ctrl-click the "copy url" link, it'll open it in a new tab, sorta like the context/permalink links on reddit

path: 0 278327 278959, hotness: undefined, score: 3, children: 1
arkcom 2 points 3 years ago

Nice, didn't even occur to me that that was a link.

path: 0 278327 278959 279050, hotness: undefined, score: 2, children: 0
Rhaedas 1 point 3 years ago
path: 0 948287, hotness: undefined, score: 1, children: 0
Mr_Figtree 1 point 3 years ago

When using the light theme, and when the fragment is #comments, the space before indented comments is higlighted (screenshot).

My fix was to add "comments" as an exception on line 38:

38c38
<     if (comment && comment !="settings") {
---
>     if (comment && comment !="settings" && comment != "comments") {
path: 0 344770, hotness: undefined, score: 1, children: 0
kbinStyles
kbinStyles

@kbin.social

login for more options
15
98
1

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

go to feed...