Google Fonts are not being blocked #333

Closed
opened 6 months ago by mendi589 · 3 comments

Google Fonts are not being blocked with 'Block Google Fonts' enabled. However, if 'Block requests for missing resources' is also enabled, Google Fonts will be blocked.

Tested on https://abola.pt using:

  • Firefox v87.0
  • LocalCDN v2.6.4
  • uBlock Origin v1.34.0 with:
* * 3p-frame block
* * 3p-script block
+ all the CDNs added, as recommended by LocalCDN
Google Fonts are not being blocked with 'Block Google Fonts' enabled. However, if 'Block requests for missing resources' is also enabled, Google Fonts will be blocked. Tested on https://abola.pt using: * Firefox v87.0 * LocalCDN v2.6.4 * uBlock Origin v1.34.0 with: ``` * * 3p-frame block * * 3p-script block + all the CDNs added, as recommended by LocalCDN ```
mendi589 changed title from Google Fonts are not being blocked unless 'Block requests for missing resources' is enabled to Google Fonts are not being blocked 6 months ago
nobody referenced this issue from a commit 6 months ago
Owner

First of all, many thanks for your report. 👍

The problem was the URL (the part with css2 in https://fonts.googleapis.com/css2?family=...) which was not catched by the regular expression (before only icons).

I fixed that and kept it more general in case there are other parts (css, css2, ...).

First of all, many thanks for your report. 👍 The problem was the URL (the part with `css2` in `https://fonts.googleapis.com/css2?family=...`) which was not catched by the regular expression (before only `icons`). I fixed that and kept it more general in case there are other parts (`css, css2, ...`).
nobody added the
missing framework/mapping
label 6 months ago
nobody added this to the v2.6.5 milestone 6 months ago
Poster

Great job, thanks a lot!

Great job, thanks a lot!
Owner

You're welcome 🙂

You're welcome 🙂
nobody closed this issue 6 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.