Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
For https://github.com/AdguardTeam/AdGuardExtra/issues/551 stack logs with Chrome extension are like ``` 01:07:52.425 Navigated to https://wiki.yjsnpi.nu/ 01:07:53.369 0b0d990d-b7e9-4cc7-84d6-30427aea8aec:26 [AdGuard] https://wiki.yjsnpi.nu/#%#//scriptlet('abort-on-stack-trace', 'Function.prototype.toString', '/w/load.php?lang=ja&modules=codex-search-styles%2Cjquery%2Coojs%2C&skin=vector-2022&version=L58hf') hit @ 0b0d990d-b7e9-4cc7-84d6-30427aea8aec:26 abort @ 0b0d990d-b7e9-4cc7-84d6-30427aea8aec:26 get @ 0b0d990d-b7e9-4cc7-84d6-30427aea8aec:26 get...
Reproduced with AdGuard for Safari/iOS. With AdGuard for Mac the rules does not work at all: ``` kotaku.com#%#//scriptlet('trusted-click-element', '.message-component > button[title="Options"]') kotaku.com#%#//scriptlet('trusted-click-element', '.message-component > button[title="Reject All"]') ``` Only the first...
AdGuard 4.4.41 Scriptlets v1.12.1 ### Details https://hentai-id.tv/ uses URL shortener for analytics  Following rule removes redirection `hentai-id.tv#%#//scriptlet('href-sanitizer', 'a[href*="://ouo.io/"]', '?s')` Example ``` https://ouo.io/s/lbH3iXRW?s=https://hentai-id.tv/my-weekend-sex-buddy-my-female-boss-only-i-know-the-other-side-of-julia/ ``` changed to ``` https://hentai-id.tv/my-weekend-sex-buddy-my-female-boss-only-i-know-the-other-side-of-julia/ ``` ###...
URL= `https://cimanow.cc/home/` - add these filters ``` cimanow.cc#@%#//scriptlet('abort-on-stack-trace', 'Image', '?v=') cimanow.cc#@%#//scriptlet("set-constant", "zJSYdQ", "true") cimanow.cc#%#//scriptlet('disable-newtab-links') cimanow.cc#@#main > a[id][target="_blank"] ``` - select any movie to stream/download eg `https://cimanow.cc/%d9%85%d8%b3%d9%84%d8%b3%d9%84-%d8%a7%d9%84%d9%85%d8%af%d8%a7%d8%ad-%d8%ac5-%d8%ad1/watching/` - observe ad popups...
To reduce the browser fingerprinting without a breakage, we can randomize or modify any request body of `navigator.sendBeacon`. https://github.com/AdguardTeam/AdguardFilters/issues/200689
**US IP is required.** AdGuard for Mac 2.16.1.1862 nightly. #### Steps to reproduce 1. Open https://www.adultswim.com/streams/ #### Actual behaviour Ad preroll (with the ad label. They also have unblockable video...
Adguard for Mac Firefox 134 on macOS Google search redirects a tracking url to search result links like this https://www.google.com/url?sa=t&source=web&rct=j&opi=[redact]&url=https://adguard.com/en/welcome.html&ved=[redact]&usg=[redact] I added a user rule `www.google.com#%#//scriptlet('href-sanitizer', '#main a[href*="url=http"]', '?url'` which...
https://github.com/AdguardTeam/AdguardFilters/issues/195191 To improve targeting an element, I think that we need to support `>>>` syntax of `trusted-click-element` and Extended CSS to `hide-in-shadow-dom` scriptlet. Screenshot 
On this website `filmy4wap.co.in` there is (I have redacted URL to `example.org`): ``` ``` and `filmy4wap.co.in#%#//scriptlet('prevent-refresh')` breaks loading images (not always happen on my end, but if I enable "throttling"...