ExtendedCss
ExtendedCss copied to clipboard
Ext-CSS rules with 'remove' don't work in apps at hotcleaner.com
Similar issue as here - https://github.com/AdguardTeam/ExtendedCss/issues/127
Steps to reproduce:
- Use AdGuard app
- Add this rule to user rules:
hotcleaner.com#$?#body { remove: true; }
- Go here - https://www.hotcleaner.com/
Website should be blank, but extended CSS rules with remove do not work.
I guess that it happens, because website override Element.prototype.remove and Element.prototype.removeChild function.
Relatively easy to fix, we should save reference to these functions.