Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/169184 Mentioned ads bust be blocked by the scriptlet `autoscout24.*#%#//scriptlet('abort-on-stack-trace', 'document.createElement', 'HTMLImageElement')` It works with Chrome extension and `AdGuard for Windows`, but does no work with `AdGuard for...
### Problem In some cases, the click needs to be performed after some user actions. 10 seconds isn't enough. ### Proposed solution Add a parameter to increase the scriptlet execution...
- [ ] json-prune - [ ] xml-prune - [ ] trusted-prune-inbound-object instead of just rules and their descriptions, it would be useful to have an input and an output...
https://github.com/gorhill/uBlock/wiki/Resources-Library#abort-on-stack-tracejs-
Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/168824 iOS 17.1, AdGuard for iOS 4.5.2 (1010) ### Rules ``` bw-bank.de#$#.if6_eprivacy { display: none !important; } bw-bank.de#%#//scriptlet('prevent-addEventListener', 'scroll', 'jQuery.event.dispatch.apply(elem,arguments):undefined') ``` Disable all other filters before test. ###...
AdGuard for Chrome 4.2.228 ### Steps to reproduce 1. Add `deltabit.co#%#//scriptlet('log-on-stack-trace', 'document.createElement')` to user rules 2. Open https://deltabit.co/52tiyuhsq52y with Italian VPN ### Actual behavior The player is broken Details ...
Currently it's too easy to disable `trusted-replace-xhr-response` and `prevent-xhr` by adding `.shouldBePrevented = false;` Steps to reproduce: 1. Add this rule: ```adblock example.org#%#//scriptlet('trusted-replace-xhr-response', '*', 'TEST', '/') ``` 2. Go to...
Hello, it looks like the scriptlet `set-local-storage-item` does not work on `https://search.brave.com/`. Tried `search.brave.com,example.org#%#//scriptlet('set-local-storage-item', 'app.usageMetricsOptOut', 'true')` and this the result on `search.brave.com` `example.org` Tried also the same scriptlet with uBlock...
Sometimes to block some (usually video) ads a rule with `$removeparam` modifier is used, for example here - https://github.com/AdguardTeam/AdguardFilters/issues/153758 (`roosterteeth.com`) The problem is that these kind of rules are not...
### Expected and Actual Behaviors  They checks that `google-adsense` or `googlesyndication` exists in `XMLHttpRequest.prototype.responseText` via `jQuery.ajax.done`. It can be resolved if a filter maintainer can use redirection resources in...