shiradrenaline

born to think, cursed to post

enjoyer of vimeo james, comix, public health, civil rights, baseball. editor and biostatistician. dm for professional info!

posts from @shiradrenaline tagged #thank you for developing xkit for cohost natalie

also:

nex3
@nex3

Since @staff has a lot on their plate and my pet feature request is unlikely to be addressed in the short term, I decided to do it myself:

You can install this userscript for yourself using Tampermonkey. I've tested in in Chrome and Firefox, and I don't think there's any reason in principle it shouldn't work in any browser that supports reasonably modern APIs.

Here's what it does specifically:

  • If you've already seen a chost, it'll collapse it in its thread.

  • If you've already seen all chosts in a thread and that thread doesn't have any tags, it'll hide the thread entirely.

  • It'll always show you the version of a chost you first encountered, even if you navigate away and come back.

  • Information about what you've seen is only stored in session storage, which means it'll be reset every time you start close and re-open the page. (If people want longer-term storage, let me know and I can probably make that happen.)

Give it a shot! Let me know what you think!


nex3
@nex3

I believe you can update the same way you installed it the first time. Improvements include:

  • It no longer runs on views where it's not useful, including individual post view, draft view, and compose view. This means you won't get weird issues where a post gets hidden even if you're directly linked to it.

  • It will now play more nicely with the "show/hide posts" interstitial that Cohost adds for long threads.

  • It will no longer bring the "read more" overlay down over the top of tags if it's showing a thread because it has new tags.

Please enjoy!


nex3
@nex3

This update has one improvement:

  • Updates the deduplicator to correctly hide posts with tags.

This was broken by the new tag behavior which was rolled out in the latest Cohost update, and will now correctly hide posts that have no new tags from their shares. If a post has a share that adds tags, it will now (as before the latest Cohost update) show those tags with an option to expand the original post.

While I was thinking about tagged reshares, I also made this little user style for making them look a bit more unobtrusive. This is what it looks like: