AdguardTeam / AdguardTeam/CoreLibs

Add block large size elements

未关闭
#1,919 0 条评论 0 个 reaction 已指派 1 人 已被 @sfionov 认领 在 GitHub 查看
Feature request needs tech clarification Priority: P4
主要语言
没有语言数据
星标
52
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。