ghostery / adblocker

Efficient embeddable adblocker library

Home Page:https://www.ghostery.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `$replace`

seia-soto opened this issue · comments

continues #3885

Noticed that the overall html filter capability should be improved to support this feature on Ghostery adblocker library. If possible, I want to extend the full html filtering capability. The implementation detail may change heavily based on the direction of this feature. For example, the current html filtering capability is limited at ^script:has-text.

One more thing to think is that our html filtering capability lives at the cosmetic filter. However, $replace modifier should live in the network filter.