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.


lemmy.ca##div.post-listing:has(:is([href*="url"],[href*="url"],[href*="url"],[href*="url"]))Oh! It just takes a comma? That’s super simple. Awesome.
Thank you!
comma works usually but i experienced inconsistent results with that in the past, so i add the
:is()wrapper just in case
Good to know.