AdguardTeam / AdguardTeam/CoreLibs

Add block large size elements

Offen
#1,919 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @sfionov Auf GitHub ansehen
Feature request needs tech clarification Priority: P4
Vorherrschende Sprache
Keine Sprachdaten
Sterne
52
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Issue Details

Some websites fail to optimize large size loading causing long loading time

### Proposed solution

Add block large media element like [uBlock Origin ](https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-large-media-elements) based on content-length. Currently, uBO only has a global setting and there's no way to set per-site thresholds for different pages.

Since AdGuard already has content type modifiers such as `$image $media $font ` , can we have a size option to more precisely control what to block or not.
syntax can be like
`$media>50MB $image>300KB $font>1MB $other>5M`

### Alternative solution

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.