AdguardTeam / AdguardTeam/Scriptlets

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

Open
#543 1 comment 0 reactions 1 assignee Claimed by @maximtop View on GitHub
enhancement Priority: P4
Dominant language
JavaScript
Stars
195
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.