this post was submitted on 24 Nov 2024
113 points (96.7% liked)

You Should Know

33453 readers
864 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 2 years ago
MODERATORS
 

While this feature is available on many third-party apps, it’s not on the browser. However, since you’re already using an ad blocker, you can use it to filter out content as well.

To filter out posts with certain keywords, go to your custom filters and add this code. For example, to hide all posts containing the word “Elon”:

lemmy.world##div.post-listing:has(span:has-text("/elon/i"))

If your instance is something other than lemmy.world, just replace it with the correct domain.

To filter out comments, use this:

lemmy.world##article.comment-node:has(div.comment-content:has(p:has-text(/asshole/i)))

To add more keywords, simply duplicate the code and replace the keyword with another.

all 15 comments
sorted by: hot top controversial new old
[–] Susaga@sh.itjust.works 15 points 1 month ago (3 children)

You might want to be careful of the Scunthorpe problem when doing this, and make sure you don't filter out posts about melons as collateral damage.

[–] Viking_Hippie@lemmy.world 8 points 1 month ago (1 children)

make sure you don't filter out posts about melons

Yeah! Gotta have your melon news! That's what we're all here for, am I right??

(I get what you mean and you're right, your specific example just tickled me 😁)

[–] Susaga@sh.itjust.works 7 points 1 month ago

Of course you need melon news. You ALWAYS need melon news. I, for one, want as many big, juicy melons on my feed as possible.

I could have said felony, but that refers to the same social group as Elon, so they'd probably want to censor it anyway.

[–] Free_Thoughts@feddit.uk 3 points 1 month ago* (last edited 1 month ago)

I think that if you add spaces around the keyword it then wont trigger if that word is contained within another word.

Another thing to note is that the post filtering also applies to usernames.

[–] wolfylow@lemmy.world 7 points 1 month ago

What a great idea - thank you!!

[–] Viri4thus@feddit.org 6 points 1 month ago

I have a low level hardware filter for that on my brain's innate ignore list.

[–] wrekone@lemmy.dbzer0.com 2 points 1 month ago

For anyone that uses lemmy on mobile, the Voyager app for lemmy supports filters in the settings. I'm not sure how complex the filters can be. I've just been adding individual terms to my filter list, and it works great.

[–] moseschrute@lemmy.ml 1 points 1 week ago* (last edited 1 week ago) (1 children)

I’m working on my own lemmy client that will support keyword filtering on both web and in the app. Still need a couple months before it’s ready for beta testing.

New account because in the process of working with the lemmy API, I’ve realized how many API versions the world instance lags behind.

[–] Blaze@sopuli.xyz 1 points 6 days ago (1 children)

New account because in the process of working with the lemmy API, I’ve realized how many API versions the world instance lags behind.

Any reason to use lemmy.ml? They tend to handle quite a few instance-wide bans: https://feddit.nl/post/16246531

If you want instances running the latest lemmy versions, https://lemmy.zip/ and https://sopuli.xyz/ are solid options

[–] moseschrute@lemmy.ml 2 points 6 days ago

Good to know, thanks! Likely I will setup a few accounts to test my client with multiple instances.

On many UI’s like voyager this is a setting