Proceeding wildcards in rules · uBlockOrigin/uAssets · Discussion #23751 (original) (raw)

In Easylist (and Adguard) we'll use, we consider this "optimised" when using wildcard for general block rules with "/ /". Its been like this for the last 15yrs+ for us.

https://github.com/easylist/easylist/blob/master/easylist/easylist_general_block.txt
https://github.com/AdguardTeam/AdguardFilters/blob/master/BaseFilter/sections/general_url.txt

/adsmanager.nsf/*
/cgi-bin/ad/*
/cgi-bin/ads/*

But I've noticed proceeding wildcards in rules Isn't the wildcard redudant here? Seems less optimised.

Should be re-writen:

/ads/autopromo/*$media,xhr,redirect=noopmp3-0.1s,domain=deezer.com

Whats the faster/better method to use in uBO?