miguelramosfdz / ChromeAutoTextExpander

Google Chrome Extension : Auto Text Expander - listens for keypresses on pages that support it and will auto-replace text as you type. Keywords: javascript jquery chrome text expander replacement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Chrome Extension : Auto Text Expander

Keywords: chrome, extension, expander, auto, automator, replace, text, shortcut, autotext.

Another fun side project in my spare time. This simple chrome extension uses content scripts to insert javascript into any page you're using to attach a handler to your keydown event.

It basically keeps track of any consecutive keystrokes within 500ms or since the last space character you typed, and checks to see if the series of keystrokes matches any of a number of custom shortcuts you may have defined, and will then replace and expand the text in the field if it matches anything.

Known Issues:

  • Sometimes the last space will not show up even if you put it into the expanded text.
  • I can't seem to get this to work in Google Docs, no matter what I try. T_T

Technologies used:

  • jQuery
  • Chrome's Sync Storage (shortcuts are synced across browsers)

Hope this is useful to someone out there; would love any help optimizing and improving on it. Feel free to help contribute and expand on this project!

. Carlin

Credits

Thanks to Jake (https://github.com/jstrength) for his contributions.

License

MIT

About

Google Chrome Extension : Auto Text Expander - listens for keypresses on pages that support it and will auto-replace text as you type. Keywords: javascript jquery chrome text expander replacement.