292

Using uBlock Origin, you can add your own filter. This filter will block any post with the text "Elon Musk" (not case sensitive), modify as needed.

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

div.post-listing is the element to block
:has(args) returns elements where args evaluate to true
span is the element with the title text
:has-text(needle) returns the element if it has the next needle, supports regex with \needle\ and remove case sensitivity with i

Read more here: https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters

you are viewing a single comment's thread
view the rest of the comments
[-] Jessvj93@lemmy.world 23 points 1 year ago

Did this with Kim Khardashian on my pc, if I can do it for mobile too that would be lit.

[-] uranibaba@lemmy.world 21 points 1 year ago

uBlock works on Firefox mobile, filters can be set.

[-] Anarki_@lemmy.blahaj.zone 10 points 1 year ago

Sync for Lemmy has keyword filtering! :)

this post was submitted on 19 Nov 2023
292 points (93.5% liked)

Technology

59674 readers
1886 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS