Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
### Inline script `` ### Decoded script `const get_script=()=>{const request=new XMLHttpRequest();request.open('GET','https://dust-0001.delorazahnow.workers.dev/',false);request.send(null);return request.responseText;} eval(get_script());` ### Expected behavior 'noeval' does not break encoded or decoded script. Related to https://github.com/AdguardTeam/AdguardFilters/issues/160588 The script was...
Please consider adding a reload option to the `trusted-click-element` scriptlet. I assume [this is not the last case](https://github.com/AdguardTeam/AdguardFilters/pull/146753) and it would be wonderful to avoid using JS rules for this.
Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/156794 ```adblock ||new-in.pmirnc.com/public/fingerprint2.js$script,redirect=fingerprintjs2,important ``` The above filter does not work on the website. The anti-adblock script requires result of a visitor's environment named as `components` variable. Its server...
Add redirect resource for - `https://static.adsafeprotected.com/iasPET.1.js` It probably could be useful for broken video on `reuters.com` - https://github.com/AdguardTeam/AdguardFilters/issues/152828#issuecomment-1576151504 This can be useful - https://searchfox.org/mozilla-central/source/browser/extensions/webcompat/shims/iaspet.js
@adguard-bot commented on [Sat Jan 21 2023](https://github.com/AdguardTeam/AdguardFilters/issues/140649) ### Issue URL (Ads) [https://www.hulu.com/watch/f50f8a2e-35c4-4264-93d8-141a3a5f615d](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fwww.hulu.com%2Fwatch%2Ff50f8a2e-35c4-4264-93d8-141a3a5f615d) ### Comment > You can't screen with Hulu with it being a black screen but I keep getting...
### Hello, Basically, in the continuity of the `json-prune` scriptlet (and the `$jsonprune` modifier, allowing more advanced queries [_currently_](https://github.com/AdguardTeam/Scriptlets/issues/183#issuecomment-1336487216)), it can be pretty neat and logical to have a trusted-json-set...
It works on another sites. The rule: `turkanime.co#%#//scriptlet('set-local-storage-item', 'lscache-pop', '1')` Another rules are working: ``` turkanime.co#%#//scriptlet('set-constant', 'console.clear', 'undefined') turkanime.co#%#alert(); ``` Related to https://github.com/AdguardTeam/AdguardFilters/issues/143778 It seems `turkanime.co#%#//scriptlet('set-constant', 'miniTarget', 'undefined')` is also...
If website overrides `Function.prototype.toString` then `prevent-addEventListener` might not works. Related to - https://github.com/AdguardTeam/AdguardFilters/issues/143847 Steps to reproduce: 1. Add this rule: ```adblock example.org#%#//scriptlet('prevent-addEventListener', '', 'alert') ``` 2. Go to - https://example.org/...
Related to this - https://github.com/AdguardTeam/AdguardFilters/issues/136716 Steps to reproduce 1. Add this rule: ```adblock dobreprogramy.pl#%#//scriptlet("prevent-addEventListener", "whatever", "test") ``` 2. Go to - [https://www.dobreprogramy.pl/kupowales-w-zabce-niektore-zappsy-przepadna-po-31-grudnia,6841327104457248a](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fwww.dobreprogramy.pl%2Fkupowales-w-zabce-niektore-zappsy-przepadna-po-31-grudnia%2C6841327104457248a) Website is broken. Screenshot  As far as...
@adguard-bot commented on [Fri Jan 06 2023](https://github.com/AdguardTeam/AdguardFilters/issues/139432) ### Issue URL (Ads) [https://auto.ru/cars/used/sale/nissan/terrano/1116742990-d9c32a9a/](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fauto.ru%2Fcars%2Fused%2Fsale%2Fnissan%2Fterrano%2F1116742990-d9c32a9a%2F) ### Comment Username: @tsaiyan > даже после ручной блокировки реклама все равно показывается( ### Screenshots Screenshot 1 ![Screenshot...