Adam
Adam
Similar to https://github.com/AdguardTeam/FiltersCompiler/issues/245, but to disable rule conversion, for example: `!+ NOT_CONVERT`. Sometimes rules are incorrectly converted (when new scriptlet is added and filters compiler wasn't updated yet, check related...
I'm not sure what the problem is, but `aceee.org#%#//scriptlet('prevent-canvas', '2d')` is converted to `""`, so it's not available in filters, and in this case `!+ NOT_VALIDATE` does not fix the...
Related - https://github.com/AdguardTeam/FiltersCompiler/pull/251 In uBO syntax is `:matches-prop`, so I think that `:matches-property` could be converted to `:matches-prop` for uBO, and `:matches-prop` to `:matches-property` for AdGuard. https://github.com/AdguardTeam/ExtendedCss/?tab=readme-ov-file#extended-css-matches-property https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters#subjectmatches-proparg
something like https://uploads.adguard.org/slbBwoqjvxe9dlzeMx.png or order of the last buttons can be different — `Copy` before `Show`
Some websites when adblocker is detected or when devtools are opened use `location.href`/`location.replace`/`location.assign`/`location.reload` to redirect to another URL or reload website. The problem with that is that `window.location` is a...
Related to - https://github.com/AdguardTeam/AdguardFilters/issues/210180, `google-ima3` breaks video player. It looks like that there is missed `getCreativeId` method in `Ad.prototype`: https://github.com/AdguardTeam/Scriptlets/blob/3ba245f96237915bbff6fe80c7400b03c0f5014d/src/redirects/google-ima3.js#L281-L315 As far as I understand, it should be a function...
Currently when a rule like this is used: ```adblock example.com#%#//scriptlet('abort-on-stack-trace', 'foo.bar', 'whatever') ``` then `foo` is set to `window`, but it should be `undefined`. Screenshot I'm not sure, but perhaps...
Steps to reproduce: 1. Add to user rules: ```adblock example.org##h1 example.org#%#//scriptlet('spoof-css', 'h1', 'display', 'block') ``` 2. Go to - https://example.org/ 3. In console run: ```js document.querySelector('h1').checkVisibility() ``` It returns `false`...
Similar to https://github.com/AdguardTeam/Scriptlets/issues/457 but about `trusted-create-element`. Steps to reproduce: 1. Add this rule: ```adblock youtube.com#%#//scriptlet('trusted-create-element', 'head', 'script', '', 'alert(1)') ``` 2. Go to - https://www.youtube.com/ Alert message should be displayed...
It seems that currently `stack` parameter doesn't work correctly, it's checked at the beginning of the scriptlet: https://github.com/AdguardTeam/Scriptlets/blob/3ba245f96237915bbff6fe80c7400b03c0f5014d/src/scriptlets/set-constant.js#L163-L166 not when value is set/get. Similar to - https://github.com/AdguardTeam/Scriptlets/issues/348 Steps to reproduce:...