this post was submitted on 22 Jun 2023
39 points (100.0% liked)

You Should Know

32600 readers
1 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 1 year ago
MODERATORS
 

Disclaimer: I am just a random stranger on the internet who likes uBlock Origin, read a handy comment, and figured out how to press F12. I am by no means a webpage expert, and these changes may have unintended consequences

I wanted to bring more attention to @[email protected]'s comment on how to block entire instances (not just specific communities on those instances) from your "all communities" feed, as well as add my own method to block them from the "list of communities" page.

This only works if you are using a web browser that supports uBlock Origin (so unfortunately, will not work on any of the mobile apps).

Firstly, install uBlock Origin if you haven't already. Then, click on the uBlock extension icon -> "Gears" (settings) icon -> My Filters. Per @[email protected], add:

your.lemmy.instance.com##.post-listing:has-text(@theInstanceYouWantToBlock.com)

Then click "Apply Changes"

So if I were not interested in any of lemmynsfw.com's content, I would add:

lemmy.world##.post-listing:has-text(@lemmynsfw.com)

@linuxFan's ELI5 explanation:

lemmy.world## - only use this filter on this site

.post-listing - evaluate everything on the page with the class name post-listing

has-text(@lemmynsfw.com) - the text we want to filter

Similarly, if you want to filter entire instances out of the "list of communities" page, you would add:

your.lemmy.instance.com##tr:has-text(@theInstanceYouWantToBlock)

I believe the tr is table-responsive, which is the type of table displayed on the "list of communities" page. If there are other reactive tables on a different Lemmy page that I don't know about, it may affect those. Also, if Lemmy's website is updated, these filters may no longer work.

If someone knows of a better method of doing this, please chime in. But otherwise, enjoy!

all 21 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

You can also try out kbin as a Lemmy alternative, as it's fully federated with Lemmy and lets you block domains.

[–] [email protected] 4 points 1 year ago

Thanks! Should be built in to easily block an entire instance

[–] [email protected] 3 points 1 year ago (1 children)

Very useful, thank you for sharing!

Also if someone isn't using ublock origin yet, please do! It's essential to browse the internet these days

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Those two are not mutually exclusive, so both could be used at the same time.

[–] [email protected] 3 points 1 year ago (1 children)

Bless your soul my child. I can now get rid of lemmygrad.

[–] [email protected] 0 points 1 year ago (2 children)

What's wrong with lemmygrad? Serious question since I'm out of the loop.

[–] [email protected] 0 points 1 year ago

It's essentially a community that promotes left wing extremist ideologies and is very much in favour of authoritarians who don't like democracy. Lots of hate for the west, lots of whataboutisms and lots of love for Putin and Xi and lots of excuses for the invasion of Ukraine and the Uyghur genocide. I'm left leaning but they have more in common with fascists than anything else.

[–] [email protected] -2 points 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)

how do i save this post on kbin?

[–] [email protected] 1 points 1 year ago

FYI, Kbin lets you block entire domains natively, though in a roundabout way.

Looks like you're using kbin.social, so you would put https://kbin.social/d/domain_you_want_to_block in your address bar, which brings up that entire instance (including lemmy instances) as a magazine. Then just block in on the right, the same way you would block a community/magazine.

You can check which domains you've blocked in your settings. Go to Settings > Blocked > Domains.

[–] [email protected] 1 points 1 year ago (2 children)

uBlock Origin works on Firefox Beta for Android.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I think it works on non-beta Android Firefox too. I just meant stuff like Jerboa, Mlem, etc; mobile apps you download from an app store.

[–] [email protected] 1 points 1 year ago

I wonder if something like this could be used to exclude Reddit result from search engine pages.

[–] [email protected] 1 points 1 year ago

Great post! If it works with unblock origin then it also works with Firefox on Android.

[–] [email protected] 0 points 1 year ago

Exactly what I was looking for and the example is exactly what I wanted to do.

Small problem, this blocks every mention of lemmynsfw, even this post.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

What if i just want to block any post from any community from any instance with the word 'trump' in the title, is there a way to do that?

[–] [email protected] 1 points 1 year ago

Sort of. Change has-text(@TheInstanceYouWantToBlock) to has-text(ThePhraseYouWantToBlock).

Just note that:

  1. The filter is case-sensitive, and
  2. This will block the post if the phrase is anywhere in the post. So even if the phrase isn't in the title, but is in the post's text body, the OP's username, the community name, etc, it will still be blocked. So blocking "trump" could accidentally block a playingcards post that has "trump card" somewhere in the post body.