Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
Steps to reproduce: 1. Add this rule: ``` ||securepubads.g.doubleclick.net/tag/js/gpt.js$script,redirect=googletagservices-gpt,important,domain=bloomberg.com ``` 2. Go to - [https://www.bloomberg.com/quote/SX5E:IND](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https://www.bloomberg.com/quote/SX5E:IND) Stock list below header is not displayed. Screenshot  It seems that this works fine...
there are few issues: 1 current json-prune does not match values if we need specify pruning, only keys — `obligatoryProps` — are checked 2 if specific array item has to...
Sometimes apps cannot detect source of the request, so we need a scriptlet which we load these scripts, so source will be detected. For example here - https://github.com/AdguardTeam/AdguardFilters/issues/110659 Source of...
@adguard-bot commented on [Thu Jul 28 2022](https://github.com/AdguardTeam/AdguardFilters/issues/125637) ### Issue URL (Incorrect Blocking) [https://nordvpn.com/contact-us/](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fnordvpn.com%2Fcontact-us%2F) ### Comment Username: `@RealJohnBaker` > When i click the "Live Chat" button nothing happens. (only with Adguard...
Embed tweets do not load when redirect rule is applied to `https://sdk.privacy-center.org/3da070b4-2745-4eb6-8fc9-1fabe5f634e6/loader.js` https://www.lavanguardia.com/deportes/motociclismo/20220618/8349878/bagnaia-postula-relevar-marquez-sachsenring.html Details 
https://github.com/AdguardTeam/AdguardFilters/blob/master/AnnoyancesFilter/sections/cookies_specific.txt#L4707 There are tons of JS rules in the Annoyances filter that deal with cookie consent screens. We should find a way to use scriptlets for that. We may need...
At the moment, if for some reason cookie wasn't set (for example, it may happens if website is in iframe and third-party cookies are blocked by browser), then website will...
Hi, This aims to improve the `prevent-element-src-loading` scriptlet (see [this comment](https://github.com/AdguardTeam/Scriptlets/issues/180#issuecomment-1032721954) — and the issue) and is based on a concrete example. _(Example which in this case can be resolved...
Fixes issue with `responseType` `blob` - https://github.com/AdguardTeam/Scriptlets/issues/206#issue-1196386338 I have added tasks to this issue - https://github.com/AdguardTeam/Scriptlets/issues/206 (the same for - https://github.com/AdguardTeam/Scriptlets/issues/216) and I hope that you don't mind if it...
Steps to reproduce: 1. Disable all filters and add this rule: `m.iqiyi.com#%#//scriptlet("set-constant", "QiyiPlayerLoader.Package.ad.adPlayerId", "")` 2. Go here - [https://m.iqiyi.com/v_2cu39c8o6f8.html](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fm.iqiyi.com%2Fv_2cu39c8o6f8.html) **Important - check with mobile website version.** It seems that rule...