AdguardTeam / AdguardTeam/Scriptlets

Add a new argument for a few scriptlets to run at specific readyState timing

未关闭
#543 1 条评论 0 个 reaction 已指派 1 人 已被 @maximtop 认领 在 GitHub 查看
enhancement Priority: P4
主要语言
JavaScript
星标
195
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

So now I realized AdGuard scriptlets don't have `runAt` option available for some uBO scriptlets such as `aeld`, (trusted-)`set`, and now `trusted-create-html`. This has been useful in some cases, now for example `pvpoke-re[.]com` who has removed iframes I created by `trusted-create-element` to defuse anti-adblock. If `trusted-create-element` can run at the `load` timing, the site can't simply remove iframes as doing so will also remove real ad frames.
___
To be celar, AdGuard is not detected as of writing, as I added a bit different rule to Base. But the suggestion here will be anyway useful.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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