AdguardTeam / AdguardBrowserExtension

AdGuard browser extension
https://adguard.com/
GNU General Public License v3.0
3.01k stars 321 forks source link

'set-constant' scriptlet sometimes is not working as it should #1610

Closed Alex-302 closed 4 years ago

Alex-302 commented 4 years ago

image

UPD: the rules for these sites are replaced, so add exclusions for applied rules before checking.

Alex-302 commented 4 years ago

Abother example: https://github.com/AdguardTeam/AdguardFilters/issues/49704#issuecomment-590073341 sinoptik.ua#%#//scriptlet("set-constant", "String.prototype.charCodeAt", "trueFunc") works in uBO, but not in AdGuard(Chrome ext) sinoptik.ua##+js(set-constant, String.prototype.charCodeAt, trueFunc)

slavaleleka commented 4 years ago

set-constant works fine in AdGuard app and but does not remove ad in AdGuard browser extension because of extension injection delay which obviously can not be fixed in scriptlets

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.