Scriptlets
Scriptlets copied to clipboard
AdGuard scriptlets library
There is an issue related to the scriptlet `set-constant`. 1. Add these rules ``` vrsumo.com#@%#Object.defineProperty(window, 'offer', { value: ''}); vrsumo.com#%#//scriptlet('set-constant', 'offer', '') ``` 2. When you open the link from...
Needed to fix https://github.com/AdguardTeam/AdguardFilters/issues/178173 without side effect or JS rule uBO has this https://github.com/gorhill/uBlock/wiki/Resources-Library#trusted-set-session-storage-itemjs-
Details here https://github.com/uBlockOrigin/uAssets/discussions/20789#discussioncomment-9979107
It looks like that if `cleanupDelayMs` parameter is used, then removed element is added and removed again few times. Steps to reproduce: 1. Add this rule: ```adblock example.org#%#//scriptlet('trusted-create-element', 'body', 'div',...
Now Many Site Owner Buy Domains In BULK For Evading AdBlock Instead Of Updating Anti Adb Code One Of The Prime Example Is Gplinks `http://gplinks.co/rJgS` https://github.com/AdguardTeam/AdguardFilters/issues/170980#issuecomment-2131297762 So For Gplinks There...
The `trusted-add-class` would provide an opportunity to add any class name to an element. For example, sometimes it happens that a script checks the body class list. ``` example.com#%#//scriptlet('trusted-add-class', selector,...
It seems that `click2load.html` redirect doesn't work correctly in the extension. Related to - https://github.com/AdguardTeam/AdguardFilters/issues/179334 Steps to reproduce: 1. Add this rule: ```adblock embed$subdocument,redirect=click2load.html,important ``` 2. Go to - https://example.org/...
There are many sites detecting the use of the developer tools in chromium browsers. They do this by calling the debug function which is only accessible when the developer tools...
If no AdGuard filters and user rules are enabled, functionality of the webpage [^1] works well. However, if I add the following rule into my AdGuard Browser Extension 4.3.46 user...
https://github.com/AdguardTeam/Scriptlets/issues/455#issuecomment-2372755158: > It'd be best if href's attributes can be modified at the same time. > > For example, every video link in [youtube search result page](https://www.youtube.com/results?search_query=test) has a parameter...