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 摘要。