Firefox: save highlighted text to a local file
If you want to preserve information that you have come across on the Internet you have multiple options to do just that. You can save the web page in various formats including as a HTML file, copy the contents that you are interested in to the clipboard and from there to a document on your computer, or bookmark the page. All of the methods have their distinct advantages and disadvantages. Bookmarking may be the quickest option but it does not guarantee that the information will still be available when you access the web page in the future.
Highlighted Text To File is a Firefox add-on that to save highlighted textual contents in the web browser to a text file on the local system. To do that, simply highlight text that you want to save on a web page, right-click afterwards on the page, and select the Save text to file option from the context menu. A preferences window is displayed the first time you use the feature.
Here you can make the following modifications to the output:
- Configure the output file name including a prefix and whether the date or time should be added to the file name automatically.
- Configure the directory the file will be saved in.Â The default directory if left blank is the user profile folder of the Firefox installation.
- Whether date, time, url or a separator are written to the file as well.
- Whether you want to create a new file every time you save text, or append contents to one existing file.
You can bypass the preferences window if you uncheck the "open preferences dialog when Save Text To File is clicked" option in the dialogÂ which speeds up the saving of the text. When you save text, a notification is displayed at the top of the browser window to inform you about it. The text is encoded in UTF-8 format to ensure that international characters are saved correctly.
The extension can be quite useful if you regularly save text to files when you are browsing the Internet. The option to bypass the preferences window makes this one of the fastest options to save highlighted text to a local file.
Update: The add-on has been renamed. It is now called Save Text to File.Advertisement