brave / brave/adblock-rust

Exceptions on @@ not effective in brave

Open
#383 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2.8k
Forks
250
Avg merge
1d 16h
Merged PRs (30d)
6

Description

My [blocklist](https://github.com/ph00lt0/blocklist) contains the following valid ubo syntax that is not working in brave:

```
^*/fingerprint*.js^
||*-pa.googleapis.com^$third-party
@@||streetviewpixels-pa.googleapis.com^$domain=google.com # Exception for streetview on google.com
@@^js.stripe.com/v*/fingerprinted/js/*^ # Required for stripe to load
```

it should allow to show the streetview in brave and load stripe payments just fine. This is currently broken in brave only.

Test here:
https://checkout.stripe.dev/preview

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Brave using the four filters from the blocklist and the checkout.stripe.dev/preview URL. Compare the behavior of the two exception rules with the expected Street View and Stripe results, then trace their handling in the Rust adblock engine. Done means both services load while the blocking rules remain effective.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.