Brave Shields won’t work on nxbrew.com
although I have shields on agressive + the best filters enabled… On the other hand ublock origin Is able to block the ads, pop ups ,etc…
The only solution is (apart from using ublock) to manually add ||probitystuck.com^ to the custom list
This solution was found by a user at reddit called phantemium who also explained what should be added to the Brave Shields system in order to block this automatically even before the filters get updated:
"And about why the domain is not in Easylist by now? well, those type of scripts change, that’s why uBlock uses these two rules, they block same type of scripts, which are used for ads and tracking:
/^https?://(?:[a-z]{2}.)?[0-9a-z]{7,16}.com/a-z[0-9a-zA-Z]{3,26}/(?:[1-5]\d{4}|[3-9]\d{3})??(?:_=\d+|v=\d)?$/$frame,script,xhr,popup,3p,match-case
and
/^https?://(?:[a-z]{2}.)?[0-9a-z]{7,16}.com/a-z[0-9a-zA-Z]{3,26}/(?:[1-5]\d{4}|[3-9]\d{3})??(?:_=\d+|v=\d)?$/$script,redirect-rule=noop.js
The problem is Brave doesn’t support many things about it so it gets ignored, it supports most things but 3 things.
Both rules are the same but with different purpose, but the first rule is the one in charge of blocking, and the second redirects the blocked scripts to an ‘empty’ JS so the website doesn’t think it was blocked in case the anti-adblock detects that, but it will not have any tracking or functionality to work.
The problem is the first rule gets discarded because it has $popup which is not supported by Brave and Brave completely ignore any rule with it.
In the second one, every option is supported by match-case but match-case doesn’t discard the rule, just doesn’t work as it should, which is to make the rule case sensitive.
But the main problem is in the Regex part, since Brave doesn’t support it all, which is this part (?=[a-z]{0,25}[0-9A-Z]), that’s the positive lookahead I was talking about. You can delete that part and use the rules and no problems should happen, the positive lookahead is so useless anyway, I don’t even know why it is there.
But it creates a blocking rule automatically, so when new domains appear like probitystuck then Brave can’t do anything about it, and only adding them to the usual Easylist will fix it for everyone.
So that’s the problem, even if Brave supported popup option, the regex has the positive lookahead, or the other way around, Brave has to support both in order to automatically block the same uBlock does."