this post was submitted on 08 Oct 2025
2 points (75.0% liked)

uBlockOrigin

1070 readers
4 users here now

uBlock Origin - Free, open-source ad content blocker. Easy on CPU and memory.

Related communities: c/linux, c/opensource, c/privacy, c/firefox, c/security, c/librewolf, c/iceraven

founded 3 years ago
MODERATORS
 

Currently, I have some filters set up through uBlock to make my Lemmy browsing more tolerable. For keywords, I copied some scripts that look like this, with one line and each word separated by a vertical bar: lemmy.ca##article.row:has-text(/keyword|keyword|keyword|etc/i)

But the url filters I use only seem to work if they are separated into individual lines, e.g.: lemmy.ca##div.post-listing:has([href*="url/"])

lemmy.ca##div.post-listing:has([href*="url/"])

I was wondering if it's possible to condense the url lines to make it a bit more manageable in the same way the keyword filter is.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] quickenparalysespunk@lemmy.dbzer0.com 2 points 1 week ago (1 children)

comma works usually but i experienced inconsistent results with that in the past, so i add the

:is()

wrapper just in case

[โ€“] ech@lemmy.ca 1 points 1 week ago