I want to create multiple keywords to work as a shortcut to auto completion.
"oi." daria "Olá Amigo"
"ate." daria "Abraço e até mais"
For example, I type in a textarea of my site the word "test." and automatically and immediately this shortcut turns the phrase "complete my test sentence" and as I type more shortcuts that match, everything will be completed.
It has a Chrome extension that does this, however I want to develop with JS to do this functionality inside my site. This way you can write a giant text in a textarea to send as a message, saving time.
Click here and see the extension I'm talking about.