Elektrine lite

← Feed

@ech@lemmy.ca

[SOLVED] Custom Filter Help - Is it possible to condense url filters like I can for keyword filters?

2025-10-08 08:12 UTC

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.

Replies (1)