Client Side Javascript Library for Profanity

已完成 已发布的 Dec 29, 2014 货到付款
已完成 货到付款

Replace profanity on a text area inside a web form:

1. Show the First letter of the profane word + asterisks to hide the rest

For example F*** You.

2. Provide a toggle button, so the user can click to display the full profanity if he wishes, and toggle back.

3. Javascript must be client side.

4. The javascript code library must be very light

5. Profane words will be loaded client side as well, for the script to recognize.

6. The Script must not replace inner matches.

For example Scunthorpe...this word should not become Sc***horpe, instead it should remain as is.

7. The web site uses jquery 1.8.2 if needed

JavaScript

项目ID: #6915047

关于项目

4个方案 远程项目 活跃的Dec 29, 2014

授予:

arunondeck

Hi, This can be pretty quickly done using regular expressions either in native Javascript or jQuery. I personally would like to use the latter. And the same solution will be client side. I am a four year experien 更多

$25 USD 在1天内
(1条评论)
2.0

有4名威客正在参与此工作的竞标,均价$26/小时

dymmwl

Hi! Explain please #5 how did you wish to list of words loaded from client side? one more text area? and checking should be done on some button click? or how it should work? Thank you

$25USD 在1天里
(3条评论)
1.6
swar12894

Dear Client, I can make this Javascript in jQuery which will replace the all bad words from the list as per your requirement i.e f*** for example and then i'll place the button to replace that asterisks with actual wo 更多

$25 USD 在3天内
(0条评论)
0.0
syslik

Hi. I can do your task very fast. But I need to know few things. Do you want to replace words at the full page or only in the input fields? Can you give me page structure, where should i replace the text?

$30 USD 在0天内
(0条评论)
0.0