一个 Firefox 插件,可将高亮文本保存到文件中。
Save snippets of text from a web page to a file anywhere on the computer.
Instructions and video of installation are available here.
The extension works in two modes:
Open the options page via the Firefox Extensions menu → Save Text to File → Preferences.
| Option | Description |
|---|---|
| Filename component order | Order of the three filename parts: date, custom text, and page title. |
| Filename custom text | Static text included in every filename (default: save-text-to-file--). |
| Add date or epoch to filename | Date format to include: Epoch (Unix timestamp), DD-MM-YYYY, MM-DD-YYYY, YYYY-MM-DD, YYYY-DD-MM, or None. |
| Prefix filename with page title | When checked, the current page's title is included in the filename. |
| Filename component separator | Character(s) placed between filename parts (default: -). |
| File type | Extension for the saved file: .txt, .csv, .md, or .data. |
| Option | Description |
|---|---|
| Include URL in file | When checked, the URL of the current tab is prepended to the saved text. |
| Template text | Static text added to every save alongside the selected text. |
| Position of template text | Whether the template appears before or after the selected text. |
| Option | Description |
|---|---|
| Default directory | Absolute path where files are saved (requires native app). Example: /home/user/notes or C:\Users\User\notes. |
| Option | Description |
|---|---|
| Show directory selection dialog | When checked, a folder picker dialog appears before each save (requires native app). |
| Show notifications | When checked, a desktop notification is shown after each save. |
| If file exists | What to do when the target filename already exists: Overwrite (replace), Uniquify (add a unique suffix — browser-only mode), or Append (add to the end of the file — requires native app). |
| No blank lines between appended entries | When checked and If file exists is set to Append, each entry is separated by a single newline with surrounding whitespace stripped. When unchecked, two newlines are added between entries. |
Select text on any web page, right-click, and choose Save Text to File.
A keyboard shortcut can be configured in Firefox under Manage Extension Shortcuts (about:addons → gear icon). The default command is save-text-to-file.
To build up a list of words or phrases in one persistent file with no blank lines between entries:
words-to-learn.Every selection will now be appended to words-to-learn.txt, one entry per line.
暂无开放 Issues,或尚未同步最近议题。