AdguardTeam / AdguardTeam/CoreLibs
Add block large size elements
- Dominant language
- No language data
- Stars
- 52
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
### 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_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.