ExtendedCss icon indicating copy to clipboard operation
ExtendedCss copied to clipboard

Ext-CSS rules with 'remove' don't work in apps at hotcleaner.com

Open AdamWr opened this issue 4 years ago • 1 comments

Similar issue as here - https://github.com/AdguardTeam/ExtendedCss/issues/127

Steps to reproduce:

  1. Use AdGuard app
  2. Add this rule to user rules:
hotcleaner.com#$?#body { remove: true; }
  1. 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.

AdamWr avatar Dec 15 '21 10:12 AdamWr

Relatively easy to fix, we should save reference to these functions.

ameshkov avatar Dec 15 '21 14:12 ameshkov