Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable remote fonts #631

Open
gkrishnaks opened this issue Apr 16, 2024 · 0 comments
Open

Option to disable remote fonts #631

gkrishnaks opened this issue Apr 16, 2024 · 0 comments
Labels
feature New feature or request

Comments

@gkrishnaks
Copy link

Is your feature request related to a problem? Please describe.
Feature request to add an option to disable remote fonts. Ublock Origin browser addon provides this option.

Describe the solution you'd like
In "Content Control" page, a new setting switch that's by default OFF, to allow user to disable remote fonts.

I took a quick look into the code and noticed that in this class/fn, looks like the code already has the ability to detect if a sub-resource request is of type font.

fulguris/adblock/AbpBlocker.kt
in shouldBlock fn, request.type is already ContentRequest.TYPE_FONT for a font sub-resource request.

Describe alternatives you've considered
Content Control page in Fulguris does not already provide this option. Internally, Fulguris is already able to determine if a sub-resource request is a font type.

Additional context

@gkrishnaks gkrishnaks added the feature New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant