Skip Navigation

[Userstyle] Add hearts to users from your homeserver/other designated servers (Frend Detector) v1.6

Edit: @[email protected]er has designed a better solution using only CSS, and this should be used instead of the old script! If you're reading this page for the first time, ignore this message.

This userstyle adds a red heart next to people that are from your home server, and any other servers that you manually define. Spot your server buddies out in the wild!

Instructions:

  1. Install Stylus extension for firefox/chrome

  2. "Write new style" in the addon settings

  3. Copy paste the CSS code below in

  4. Modify the code around line ~11 in order to reflect your homeserver and any additional frendservers that you want to highlight

  5. Modify the code around line ~19 to reflect your homeserver

  6. (Optional) If you’d like your homeserver buddies to have a different marker, uncomment the various sections around line ~27 through ~50 by removing the /* and */ bits

  7. (Optional) Play around with different markers and colors!

CSS/Userstyle: https://gist.github.com/redyoshi49q/f1b2d1da0a8f7536aba1f8c3110d2dd8

57
57 comments
  • hey this is a neat thing!! Thanks for sharing!

  • This is pretty neat. I personally modified it to display the Finnish flag emoji as my home instance is for the most part meant for Finns :)

  • pawb.social is refederated again, so all goes back to normal for now :) pay no mind to this comment and enjoy your stay.

    original comment

    Important

    pawb.social, the instance OP is from, was sadly defederated from sh.itjust.works. This means they cannot edit this post or respond to your comments.

    This is the link where it is currently being maintained: https://pawb.social/post/43513

    ## Author's message on his Greasyfork extension:

    (In this case, SJW means shit.just.works)

    Strange times we live in. My instance (pawb.social) has defederated from sh.itjust.works due to their open signup/spambot/trolling problem. This means I can’t actually manage the OP post about this userscript I made, and the link to this page is still alive and prominent for SJW users. It’s unfortunate, but I understand the rationale. I think it will just be temporary until SJW moderates their instance better. This userscript has actually been replaced by a userstyle version, which does the same thing in a cleaner way.

    The version of my post that contains the updated userstyle and instructions is located here: https://pawb.social/post/43513

    This is the same exact post that you probably came from, but the difference is it's hosted on pawb.social, and therefore I can edit it. My edits on pawb.social do not get pushed to SJW since we are defederated. It's sort of like being shadowbanned. In the meantime though, this 'shadowbanned' post still works as a homepage, as long as it's linked to directly on pawb.social!

    Apologies for the inconvenience, we're exploring lemmy's quirks together!

    • Thank you for posting this! As luck would have it, we literally just re-federated to SJW after a discussion: https://pawb.social/post/69478

      Here's hoping that defederation remains a nuclear option, because this was a bit of a confusing experience.

      Edit: Also (if we were still defederated) I actually can reply to comments from other instance's users on this post (I did so here while we were defederated). SJW users will not see my comments, but they will get distributed properly to members of other instances. I wouldn't be able to reply to SJW posts if we were still defederated though.

      • ah, nice to know! :) Thanks, and I'm super glad to have you back. I've actually been using yur script as a basis for another plugin I'm making. I'm not sure it'll see the light of day but it's fun, and it's my first attempt at a firefox extension.

    • Defederation is unintuitive and seriously distributive - there now exists multiple versions of this post with different set of comments and votes depending on who is looking from where. My comments from sopuli.xyz to this post on sh.itjust.works are being send to pawb.social as sopuli and pawb are federated (or because pawb hasn't defederated on their side?) , but anything happening on pawb.social is not being updated to sh.itjust.works.

      • You're correct. comments between other instances still propagate successfully but direct interaction is not allowed. Pawb.social did just overturn its defederation of SJW, so we're back to normal for the meantime. I'm glad to have seen this happen early on though, it's good to know about the effects of this type of situation, and what that means for the future

  • Script's been removed from Greasyfork.

    • SO. Strange times we live in. I believe how this works is that everyone except sh.itjust.works users will see this reply I'm writing. My instance (pawb.social) has defederated from sh.itjust.works due to their open signup/spambot/trolling problem. This means I can't actually manage the OP post I made anymore. It's unfortunate, but I understand the rationale. I think it will just be temporary until SJW moderates their instance better.

      I only recently realized this defederation happened, so I had thought that deleting the userscript wasn't a problem because the userstyle now supersedes it with full parity. Interestingly enough, I had actually been updating the post the whole time, but defederation means no one can see those updates. They do still live in our pawb.social copy though, so by visiting this post you can actually see a version of this page with the newest updates. I'll also put the userscript back up with a redirection note in the meantime.

      TL;DR: Script now lives here!: https://pawb.social/post/43513

    • posted a small explanation. TL;DR: pawb.social (author's instance) was defederated. They are now maintaining the script at a pawb.social post.

57 comments