Comment on Blocking all posts that link to specific sites?
muntedcrocodile@lemm.ee 2 weeks ago
I don’t think so but with external scripts you can always get chatgpt to write you some greasemonky scripts to do it
Comment on Blocking all posts that link to specific sites?
muntedcrocodile@lemm.ee 2 weeks ago
I don’t think so but with external scripts you can always get chatgpt to write you some greasemonky scripts to do it
Auster@lemm.ee 2 weeks ago
Just remembered Ublock Origin filters also work nice with fediverse sites, although I would prefer to completely purge posts with links I avoid.
But for those curious, here’s an example filter I just cooked:
lemm.ee##a[class=“fst-italic link-dark link-opacity-75 link-opacity-100-hover”]:has-text(here_goes_the_domain_as_displayed_under_the_post_title):upward(div[class=“post-listing mt-2”])
So as an hypothetical example, if for some reason I have a problem with the
sh.itjust.works
instance, I could make this:lemm.ee##a[class=“fst-italic link-dark link-opacity-75 link-opacity-100-hover”]:has-text(sh.itjust.works):upward(div[class=“post-listing mt-2”])
And it ends up looking like the attached image.
muntedcrocodile@lemm.ee 2 weeks ago
Shit, the fucking simple solution. classic