Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
There are websites that use old versions of prebid.js, these differ much from newer versions and are not supported by current redirect: https://github.com/AdguardTeam/AdguardFilters/issues/25221 v1.23.0: https://www.epochtimes.com.tw/n265531?fbclid=IwAR1_I9H8vZ-uzdtNU2jbxLbVtls1aPDcT535T8wuYlrV5D0jmCB149 Improve `prebid.js` redirect to work...
Similar issue as here - https://github.com/AdguardTeam/Scriptlets/issues/226 Steps to reproduce: 1. Add this rule: ``` fiddle.jshell.net#%#//scriptlet("abort-current-inline-script", "atob", "qwertyabcd") ``` 2. Go to - https://jsfiddle.net/, add this script: ```html ``` and click...
Ad-Shield patches RegExp.prototype.test, which annoys `log-on-stack-trace` and `abort-on-stack-trace`. Screenshots   ### Original Report https://github.com/uBlockOrigin/uBlock-issues/issues/1741 --- ### Related Issue https://github.com/AdguardTeam/AdGuardExtra/issues/294
Steps to reproduce: 1. Add this rule: ``` example.org#%#//scriptlet('prevent-setTimeout', 'alert(') ``` 2. Go to - https://example.org/ 3. Run in console: ```js setTimeout(()=>{ alert("test") }, 100); ``` Alert should be blocked,...
- [x] Blob response - [x] Improve randomize `responseText` function - https://github.com/AdguardTeam/Scriptlets/issues/206#issuecomment-1158621281 (second part of the comment) There is a website - [https://www.kijk.nl/programmas/uefa-conference-league/FMLIrjHkfhXMWv](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https://www.kijk.nl/programmas/uefa-conference-league/FMLIrjHkfhXMWv) which detects ad blockers if some xmlhttprequest...
- [ ] Return original URL - [ ] Improve `Response.type` - https://github.com/AdguardTeam/Scriptlets/issues/206#issuecomment-1158621281 (first part of the comment) - [ ] Fix issue with `:` in URL - https://github.com/AdguardTeam/Scriptlets/issues/216#issuecomment-1178591463 At...
There is a generic exception for this script (`@@||tagcommander.com^*/tc_$script`), so maybe it would be a good idea to create a redirect resource for it. Examples: https://github.com/AdguardTeam/AdguardFilters/issues/102818 (Broken video player) https://github.com/AdguardTeam/AdGuardSDNSFilter/issues/776...
As I said in #152 nice will be implement translation AG syntax to uBo syntax with injection parameter when AG based on default [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver). So uBo added parameter but default...
might be useful: https://developers.google.com/interactive-media-ads/docs/sdks/html5/dai
Related to - https://github.com/AdguardTeam/AdguardFilters/issues/127537 I have checked it with latest `google-ima3` - https://github.com/AdguardTeam/Scriptlets/blob/master/src/redirects/google-ima3.js and it almost works fine, but the problem is that video player is not visible (it has...