To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
About this Add-on
A new menu item, Text, is created in the context menu of the text areas, with the following submenu items:
Open the file picker, choose a file, load the contents into the text area
Open the file picker, choose a file to save to, save the contents of the text area
If the file name has already been established, save without opening the file picker. While the cursor is in the text area, this functionality can be accessed using Ctrl+S shortcut.
If the file name has already been established, automatically save the file every few seconds. The delay can be changed by modifying the preference setting extensions.savetextarea.autosave-delay, which specifies the number of seconds between saves. The default is 300. If autosave is enabled, the files are also saved when the document is unloaded.
Load, save and autosave can be controlled with custom html attributes, such as this: <textarea loadfrom="file_name_to_load_from" saveto="file_name_to_save_to" autosave="yes" ....
This is an advanced feature which is turned off by default, because it opens a potential security hole. To enable it, change preference setting extensions.savetextarea.enable-attributes to true. This will enable custom attributes for all sites that match the regular expression specified in extensions.savetextarea.allow-attributes-from. The default regular expression is "^file:///.*", which allows access to custom attributes only in documents loaded from your local drive. Modify it as necessary into something like "(^file:///|^http://www.yoursite.com/yourdocument.html)", but make sure you know what you are doing or you'll risk opening your computer to outside world.
If the extension does not work for you
1. Please make sure you're focused on an editable field, such as the search box in the center of the page on google.com, and it still does not work. If it does but you experience problems elsewhere, please send me the URL
CR/LF - the text is coming up as one line in notepad because the files are saved with unix-style line endings, LF only. This is how the text is maintained internally by the text areas.
Comments with 1 star rating are not the best way to request updates.