TextSaver addon tutorial
July 4th, 2008
Although I’ve already entered CopyURL and Affiliator in the Extend Firefox 3 competition, I wanted to see what I could do with 3 days of intense coding. My wife always complains about writing long posts on YouTube, then losing them due to a session timeout. I’m always looking for a problem to fix, and this seemed like a perfect idea for the competition, so starting this past Monday, I created TextSaver.
When you load the addon and restart Firefox, you should see a little disk-and-paper icon in the statusbar. We’ll get to that in a minute. To start, go ahead and type something in a text input, whether it be a standard textbox, a textarea, or whatever magic Google uses in GMail (which do not appear to be standard textboxes according to Firebug). Click “Add this text to TextSaver”, and you should see a sidebar appear, along with a box prompting you for a name. Pick whatever name you’d like to remember this snippet of text by, and click “OK”. The text is now safely stored in the sidebar, ready to be dragged and dropped on any text input, even those outside of Firefox.
You can also drag and drop pretty much anything that has a text representation onto the sidebar, and the process will remain the same. Clicking the globe icon next to the item’s name will open a tab containing the page you were on when you saved the text. Clicking “(edit)” will pop up an edit dialog allowing you to modify the name, URL, or content of the saved text. Finally, clicking the close button in an item will allow you to delete it permanently.
You may have also noticed the search box above the saved text items. As you type in this box, it will rapidly search through the names, URLs, and contents of every piece of text you’ve saved with TextSaver, filtering out those that don’t match. This is a quick way, for example, of finding that post on YouTube out of the hundreds that have timed out. Hopefully you’ll have deleted some after you’re done using them, but if you’ve got the desire to keep them around, feel free to do so.
Clicking on the TextSaver icon in the status bar will pop up a menu giving you the option to show/hide the sidebar, as well as whether or not to show the context menu item for TextSaver. If you prefer dragging/dropping, and don’t want to lose valuable context menu real estate, get rid of it, and it’ll never bother you again.
Thanks for trying TextSaver. I welcome all feedback, critiques, and complaints. If you’ve found it helpful, donations are also gladly accepted, and greatly appreciated.


August 12th, 2008 at 3:36 PM
Although the tutorial page is listed for support on the Add-ons page, I don’t see any option for this here.
I can’t install the add-on:
**************************************************
“Firefox could not install the file at https://addons.mozilla.org/en-US/firefox/downloads/file/32846/textsaver-0.1-fx.xpi
because: Invalid file hash (possible download corruption) -261
**************************************************
Thanks,
Ron
October 10th, 2008 at 6:54 AM
Thanks, but is it possible to save text areas automatically?
October 10th, 2008 at 11:40 AM
Ron, I responded to you in an email, I believe. Just clear your cache, restart Firefox, and try again, and it should work.
kay, I thought about adding that in, but if I saved every textarea/textbox you come across, it would rapidly take up all of your hard drive space and slow down Firefox, as the text blocks are saved as FF preferences.
I am working on an upgrade that, once you’ve selected a textarea to save, will automatically save any changes to that textbox, so you can keep typing without having to re-save it before submitting. Real life’s been keeping me occupied for the moment, though.
April 15th, 2009 at 3:57 AM
Hi, Text saver is a great add-on to Firefox, I use with FF3, and catches most of the data when FF crashes for any reason.
Only I want to ask to make a fix for Text Saver. There are some urls very long, do an error trying to saving in Windows.
I would ask a way to truncate the url filename to less of 20 or 30 characters, or maybe be adjustable by configuration settings.
Thanks in advance!
April 16th, 2009 at 1:00 AM
Well, I found a way to fix the problem, editing the js file inside of the textsaver.xpi with a substr javascript function, and it does the trick, thanks anyway!!!
April 27th, 2009 at 12:35 AM
Hi. I just stumbled upon your extension at the Mozilla Add-ons page and it looks quite useful. I hope you still have plans to update it with the functionality you mentioned in a comment above: “I am working on an upgrade that, once you’ve selected a textarea to save, will automatically save any changes to that textbox, so you can keep typing without having to re-save it before submitting.”
That would be truly fantastic. Thanks!