Text expansion and substitution engine for textareas.

Latest Version

Version
1.1
Update
February 21, 2023
Size
74.3KiB
Developer
Category
Users
69
Rating
3 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage

See more

Text Fu Extension

This productivity extension is designed for users who frequently need to enter the same or similar text in form text areas, e.g., doctors who use medical records systems with web front-ends. They often need to input the same text for every patient, only changing specifics like patient name, date, vitals, etc. One solution is to copy and paste from text files, then search for changes to replace, but this is very inefficient since it requires switching focus to the file browser, then text editor, then back to the web form to paste and change the text.

Text Fu provides a simpler and faster solution using text triggers, which are short abbreviations created by the user that expand to the full text. The placeholder *** is used for any text that needs to be changed, and users can cycle through the placeholders by pressing the F2 key. The text triggers and their expansions are stored in the browser, and are available to use in any text area in an chrome window or tab. No copy/paste or app switching is needed.

Example:
A data entry clerk needs to post productivity reports for multiple people several times a day. For simplicity, let's say the report text looks like this:
\"Hello, World. Yesterday was a *** day. Today is going to be a *** day!\" where *** could be 'good', 'bad', 'ugly' or anything else. The clerk enters this text in the Text Fu options page and decides to make it's text trigger \".hw\". Now the clerk only needs to type .hw followed by the enter/return key, and the trigger (.hw) will be replaced with the full text (Hello, World. Yesterday was a *** day. Today is going to be a *** day!). Then the clerk selects the placeholder text just by pressing F2 (multiple presses cycle through the placeholders). The clerk replaces placeholder with the actual data and is ready to submit, all without leaving the keyboard to use the mouse!

Text triggers and their expansions can be created/updated/deleted in the Text Fu options page, or they can be fetched from a remote URL as a json object where each property name is a text trigger and each property value is the expanded text like the following:
{
\".hw\": \"Hello, World. Yesterday was a *** day. Today is going to be a *** day!\",
\".mlk\":\"Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that.\\r\
\\r\
Martin Luther King, Jr.\"
}
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"name": "Text Fu",\t"version": "1.1",\t"description": "Text expansion and substitution engine for textareas.",\t"permissions": [\t\t"storage",\t\t""\t],\t"background": {\t\t"scripts": [\t\t\t"jquery/jquery-2.0.2.min.js",\t\t\t"jquery/jquery.textfu.js",\t\t\t"background.js"\t\t]\t},\t"browser_action": {\t\t"default_icon": "TextFu19.png",\t\t"default_title": "Text Fu"\t},\t"options_page": "options.html",\t\t"options_ui": {\t\t"page": "options.html",\t\t"chrome_style": true,\t\t"open_in_tab": false\t},\t\t"minimum_chrome_version": "39",\t"content_scripts": [\t\t{\t\t\t"matches": [\t\t\t\t""\t\t\t],\t\t\t"all_frames": true,\t\t\t"js": [\t\t\t\t"jquery/jquery-2.0.2.min.js",\t\t\t\t"jquery/jquery.textfu.js",\t\t\t\t"content_scripts.js"\t\t\t],\t\t\t"run_at": "document_end"\t\t}\t],\t"icons": {\t\t"16": "TextFu16.png",\t\t"48": "TextFu48.png",\t\t"128": "TextFu128.png",\t\t"256": "TextFu256.png"\t},\t"manifest_version": 2}
Read more

Similar Extensions

User reviews

icon

BenKarl Bransonmo (ID: 00000051f355883b) Voted 3 ★ - Updated 04/18/2018 Worked as advertised until recently; can no longer scroll down in extension interface to add/alter substitutions.