this post was submitted on 30 Jul 2023
1326 points (98.7% liked)
Lemmy.World Announcements
29026 readers
4 users here now
This Community is intended for posts about the Lemmy.world server by the admins.
Follow us for server news ๐
Outages ๐ฅ
https://status.lemmy.world
For support with issues at Lemmy.world, go to the Lemmy.world Support community.
Support e-mail
Any support requests are best sent to [email protected] e-mail.
Report contact
- DM https://lemmy.world/u/lwreport
- Email [email protected] (PGP Supported)
Donations ๐
If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.
If you can, please use / switch to Ko-Fi, it has the lowest fees for us
Join the team
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Infinite scroll and word filtering. If I see one more post about "AI", Musk, Twitter, or fake superconductors, I might have to get off the computer for 10 whole minutes.
Post hiding would be great to have.
please comment here
https://github.com/LemmyNet/lemmy-ui/issues/384
"mark as read" is not enough and serves a different purpose than hiding posts.
I want to be able to ban/hide entire servers. Regularly seeing lemmynsfw celebrity communities pop up in All/Hot :| (I have nsfw disabled, so it's just generic photos of random women.)
Also an option would be nice to hide downvoted posts, I had that on in RES.
Block the user "madness", its literally one guy posting that shit.
maybe now, but if Lemmy grows that will be a good feature to have.
Ah, I hid celebrities, 196, and a bunch of other communities so I wouldn't have to scroll through it. But certainly I see where ignoring an entire federated host would be helpful.
The Connect app ( [email protected]) has both word filters and instance-blocking, I believe.
Thanks, but I'm a PC only user.
Keep an eye on [email protected] which is being developed as a Desktop-first Lemmy client. Someone already requested instance-blocking there. Not sure about word filters but why not ask?
thanks!
Scroll down to the bottom of your user settings and untick the box next to "Show Read Posts". Any posts you've voted on, up or down, will stop showing up.
I don't want to hide everything I've voted on.
Word filtering is fairly easy to do if you know your way around uBlock filters.
Yeah, but I don't
Fair. It's not too hard, but most lemmy UIs make it a bit harder than it needs to be because they want to be a fancy JavaScript-ridden mess of html tags.
On old.lemmy.world it is supremely easy, you just use the element picker tool of uBlock to select all posts, add the 'magic' command
:contains(reddit)
to filter out the word you don't want (in this case reddit), and you've got your filter. This would result inold.lemmy.world##.post:contains(reddit)
.On lemmy.world it is trickier because it is the kind of HTML no sane person would write. Doing the above you end up with
lemmy.world##div.mt-2.post-listing:contains(reddit)
which is messy, and misses a line that is used to divide the posts. With some manual tuning you can first simplify the first part to##.post-listing:contains(reddit)
and then add:xpath(.|following::hr[1])
to get rid of the annoying line. This results in##.post-listing:contains(reddit):xpath(.|following::hr[1])
.Oh is it literally just css selectors, but with a slightly different syntax? Fuck me, I never looked into it and assumed it was nonsense.
The extra syntax is just to add some features that aren't in CSS. Not quite sure where this came from, I think it's from the Adblock Plus era, but Gorhill perfected it for uBlock origin, which makes it a very powerful tool.
It's not limited to just hiding the elements either, if you want you can simply restyle them (I've used this to redact sports results until I hovered over them).