ChaseFlorell / jQuery.ProfanityFilter

filter out profane words on the client
https://chaseflorell.github.io/jQuery.ProfanityFilter/demo/
MIT License
110 stars 42 forks source link

High sensitive filter #29

Closed Brecht272727 closed 5 years ago

Brecht272727 commented 5 years ago

Hi, it is possible to have a high sensitive filter? What i mean is if i use the word 'ass1' or '1ass' or something similar, i have to be blocked also because the word 'ass' is used.

And maybe it would be better if you can use it on an input field on keyup, so you don't have to use the submit button.

ChaseFlorell commented 5 years ago

Unfortunately this would result in a clbuttic mistake that I'd like to avoid. Also, this is a jQuery plugin, so you should be able to use it on whatever event you like, please look at the example page.

Brecht272727 commented 5 years ago

Hi,

I found this one in pure javascript and it is working as expected: https://codepen.io/mcfan/pen/xVVNwy

Kind regards,

Brecht272727

Van: Chase Florell notifications@github.com Verzonden: donderdag 7 november 2019 15:21 Aan: ChaseFlorell/jQuery.ProfanityFilter jQuery.ProfanityFilter@noreply.github.com CC: Brecht272727 brecht@digital-productions.be; Author author@noreply.github.com Onderwerp: Re: [ChaseFlorell/jQuery.ProfanityFilter] High sensitive filter (#29)

Unfortunately this would result in a clbuttic https://en.wikipedia.org/wiki/Scunthorpe_problem mistake that I'd like to avoid. Also, this is a jQuery plugin, so you should be able to use it on whatever event you like, please look at the example page https://chaseflorell.github.io/jQuery.ProfanityFilter/demo/ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ChaseFlorell/jQuery.ProfanityFilter/issues/29?email_source=notifications&email_token=ALIPA4Z2J3UTXXYOSZL2ORDQSQP53A5CNFSM4JKFPT72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMRX4I#issuecomment-551099377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIPA4Y462TB5GCC4V25IC3QSQP53ANCNFSM4JKFPT7Q . https://github.com/notifications/beacon/ALIPA46J5VMF6EVYDFIJ5F3QSQP53A5CNFSM4JKFPT72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMRX4I.gif

-- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus

ChaseFlorell commented 5 years ago
Screen Shot 2019-11-07 at 7 04 38 AM

Glad it's working for you, I'd never use it!