Requires: greasemonkey/tampermonkey/other script injector.
If your home instance is federated with instances you don’t want to see, you can use this script to remove all posts and comments from that instance without having to block communities individually.
Example:
Line 17: const blockedInstances = ["example.ml","lemmy.world"];
Will block:
user@lemmy.world posts to community@anyinstance.com
user@anyinstance.com posts to community@lemmy.world
user@lemmy.world comments on any post
Usage:
Edit the comma-seperated list on line 17 to the instances you wish to block. Add new ones inside quotes following a comma. Do not include https:// or trailing forward slashes in the instance text.
Sweet! Thanks this is a great use case. This could probably be pretty easily be built into the ui