Skip Navigation

[UserScript] Federation Awareness

greasyfork.org Lemmy Federation Awareness

Color posts and comments based on moderation rules of the origin server

similar to the kbin userscript I made this colorizes posts and comments by origin. kbin users/posts are dark blue, Beehaw (and any other restrictive moderation sites in the future) are red, local is left unchanged.

12

You're viewing a single thread.

12 comments
  • Great job, thank you!
    Just one thing - it would be great if these rules would not work on strictly moderated instances themselves because there is no point of such highlighting there. We can configure it in userscript setting in UI. But it's better to have such logic right in the scripts itself. So far I have just added this additional condition to the block at the end:

    if (isLemmy && !isStrictlyModerated(window.location.hostname)) {
    GM_addStyle(...

12 comments