FrostCo / AdvancedProfanityFilter

A browser extension to filter profanity from webpages
GNU General Public License v3.0
159 stars 26 forks source link

Not filtering when set to remove on a word set to partial #537

Closed richardfrost closed 5 months ago

richardfrost commented 6 months ago

:bug: Description

The filter isn't working when set to Remove with the word app. rate: (partial match method)

:twisted_rightwards_arrows: Steps To Reproduce

In the bottom of this site, you can see a team list. Works with censor or substitue filter, but doesn't if the filter is Remove.

richardfrost commented 6 months ago

I think I found the issue. Its getting confused by the ending special character :. I will work on getting this fixed quick, but in the meantime, if you want it to work with the "Remove" filter method you can change the word's match method to: Regex with this value: (^|\s)([\w-]*app\. rate:[\w-]*)(\s|$)

As soon as I can get the new update out it should work exactly as you have it setup, so if you do use the above suggestion you can just switch it back to app. rate: and Partial.

richardfrost commented 5 months ago

This should be fixed in version 3.3.1.