- #Auto text expander chrome update#
- #Auto text expander chrome code#
- #Auto text expander chrome series#
Added demo area on the options page where you can test your shortcuts live!.Allowing HTML expansions for single line expansions too.Rewrote logic for inserting into editable iframes and divs, more accurate and reliable.Adding localization for dates based off your browser locale (+160kb for locales).Added shortcut recovery in case of shortcuts disappearing for some reason.
#Auto text expander chrome code#
Added checks into expander code to prevent expansion and warn user to refresh browser if shortcut database version is different. Removing lots of jQuery dependencies to keep things lean and speed things up. Replacing annoying exception messages in console when script does not work with iframes. Added support for Confluence (Atlassian). Slight optimization to attaching listeners by not running regex over all special cases. Added new Textarea option for demoing shortcuts. Fix for Salesforce support (was cutting short attaching listeners to new iframes). Replacing console.log() statements with console.log() to reduce developer console spam. Updating crouton banners to require user-initiated dismiss sometimes, so they notice them. Adding auto-capitalization with checking for lower-case versions of the word typed, and applying all-caps or just first letter capitalization automatically. Should only add a space after the expansion if you typed a space. Fixing inconsistency with handling of trailing spaces. Changed popup warnings when Chrome is not syncing the shortcuts properly to use a warning banner instead that is less in-your-face and still let you navigate sites without crying in frustration. Figure out what's going on with the shortcut prefix issue. Increase max time for shortcut detection to 10s. Fix to let consecutive shortcuts fire even if typed without whitespace. Adding omnibox support (use keyword 'ate' and the Tab key to trigger). Add support for Salesforce CKEditor (thanks Fix for Zendesk (thanks Fix for Zendesk Inbox (thanks Fix for Outlook O365 OWA. Fix for missing check on CKEditor regex. Attempt to add Google Docs support (failed). Added support for React-powered input fields, should work on Facebook now, thanks to Toggle on/off from browser icon. Better iframe support, now supporting Hangouts!. Feel free to help contribute and expand on this project! Hope this is useful to someone out there would love any help optimizing and improving on it. #Auto text expander chrome update#
When releasing a new version, please update the following with the version number:
Domain whitelist/blacklist or on/off switch. Chrome's Sync Storage (shortcuts are synced across browsers). Also, this doesn't work in Google Hangouts due to cross-origin policies. Similarly, Facebook comments is unavailable due to ReactJS's system. I can't get this to work in Google Docs due to how Docs is architected. #Auto text expander chrome series#
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. This simple chrome extension uses content scripts to insert javascript into any page you're using to attach a handler to your keydown event. Keywords: chrome, extension, expander, auto, automator, replace, text, shortcut, autotext.Īnother fun side project in my spare time. Google Chrome Extension : Auto Text Expander