AdguardTeam / AdguardTeam/CoreLibs

Add block large size elements

Đang mở
#1,919 0 bình luận 0 reaction 1 người được giao Được @sfionov nhận Xem trên GitHub
Feature request needs tech clarification Priority: P4
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
52
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.