Relocation is ongoing. Some contents are not available.

UnMHT Warehouse Logo UnMHT Warehouse

 

Index


1. Introduction


1.1. About UnMHT

UnMHT is the Add-on for Firefox, Firefox for Mobile, Thunderbird and SeaMonkey. UnMHT adds MHT file reading/writing support to Firefox and SeaMonkey.

UnMHT provides following features:

In Thunderbird and SeaMonkey Mail window, saving multiple tabs are not supported.

Some features are not available in Firefox for Mobile.


1.2. About MHT

MHT (or MHTML) is the webpage archive format to store HTML and images, CSS into single file.

MHT file can be opened by following software (not a complete list):

For more information about MHT, please refer RFC 2557.


2. Installing UnMHT

UnMHT can be downloaded from following sites:

  1. Firefox Add-ons
  2. unmht.org (This site)

2.1. Supported software

UnMHT can be installed into following softwares:

  • Firefox 38 or newer version
  • Thunderbird 38 or newer version
  • SeaMonkey 2.33 or newer version
  • Firefox for Mobile 38 or newer version

2.2. Install from Firefox Add-ons

  1. Open Firefox Add-ons.
  2. [Add to Firefox] button
    [Add to Firefox] button

    Click [Add to Firefox] button.

     
  3. [Install Now] button
    [Install Now] button

    After downloading Add-on file, click [Install Now] button.

     
  4. Installed
    Installed

    Successfully installed.

     

2.3. Install from unmht.org

  1. Open UnMHT for Firefox page.
  2. Click filename in file Download Section, Release Version.
  3. [Allow] button
    [Allow] button

    If you are first to install Add-on from unmth.org, Firefox asks you to allow or not. Click [Allow] button.

     
  4. After downloading Add-on file, click [Install Now] button.
  5. Successfully installed.

2.4. Check for Update

UnMHT is automatically checked for update in Firefox Add-ons.


2.5. Licenses

UnMHT is free software distributed under MPL 1.1/GPL 2.0/LGPL 2.1 triple license.


3. Features


3.1. Open MHT file

You can see MHT document by opening MHT file with following way:

  • Click link to MHT file
  • Enter MHT file address in Location bar
  • Drag and Drop MHT file to the browser

UnMHT converts URL of MHT file to following format.

[example]

http://www.unmht.org/up/unm0000.mhtunmht://www.unmht.org.unmht/http.5/up/unm0000.mht/
(original URL is shown in Location bar)


http://www.unmht.org/images/unmht.png
in http://www.unmht.org/up/unm0000.mhtunmht://www.unmht.org.unmht/http.5/up/unm0000.mht/unmht.png

URL which starts with unmht:// is valid only in UnMHT, so do not paste or send this URL. You can see original URL in Information panel.


3.2. Information panel

Infromation panel
Infromation panel

You can see following MHT file information in Information panel:

  • Original address of the MHT file
  • URL of the page stored in the MHT file
  • Saved date
  • Save State (if the MHT file is saved with UnMHT Ver.6.5.0 or higher)

When you open MHT file, UnMHT icon is displayed in Location bar, and Information panel can be opened by clicking it.

 
Page Info
Page Info

Same information is available in Page Info Dialog.

 

3.3. Save as MHT

File menu
File menu

Toolbar button menu
Toolbar button menu

Context menu
Context menu

Firefox for Mobile menu
Firefox for Mobile menu

You can save webpage as MHT file.

To save the webpage as MHT, please click [Save as MHT...] in following menu.

  • File menu
  • Tool menu
  • Toolbar button menu
  • Context menu on webpage

You can also save webpage as MHT by clicking [Save as MHT] button in your Toolbar, which can be added from Toolbar's [Customize...].

If you installed Mozilla Archive Format, you can also save page as MHT by clicking [Save Page As...] in File menu.

 

3.4. Save as MHT with Current State or Original file

Save as options
Save as options

There are 3 methods for save, you can choose one of them in [Froamt] option in File picker.

 

Suitable method is differ from site to site, and depend on your purpose.

[Current state]

Save dynamic snapshot of Web Page. Changes after the page loaded are stored into file. JavaScript used in the web page is also stored into file.

Almost same as browser's [Web Page, complete] save. Save page in current state (convert current DOM tree to HTML)

This method is suitable for the page which contains dyanmically generated contents that depends on time or the session, and you need JavaScript while opening the MHT file. However the dyanmically inserted contents will be displayed twice or more on some sites.

If you need dynamic content working when you open the MHT file, please use this.

[Current state (without Script)]

Save static snapshot of Web Page. Changes after the page loaded are stored to file. JavaScript used in the web page is NOT stored into file.

Almost same as [Current state], except removing JavaScript.

This method also save dynamically generated HTML5 Canvas image into MHT file. (To save dynamically generated Canvas image, please use this method.)

This method is suitable for the page which contains dyanmically generated contents that depends on time or the session. No JavaScript will run when opening the MHT file.

If you do not need dynamic content working when you open the MHT file, please use this.

This option does not remove JavaScript in Conditional Comment. Internet Explorer 11 uses IE 7 mode for MHT file by default, and it does not ignore Conditional Comment. So, if Conditional Comment contains JavaScript, it will run when you open the MHT file with Internet Explorer 11.

[Original file]

Save original files downloaded from server. Changes after the page loaded are not stored to file.

Same as browser's [Web Page, HTML Only]'s HTML file (Of course other resource files are stored into MHT file).

If you want to store additional files to MHT file, please choose [Additional Files] for either method.


3.5. Save as MHT by single click

Toolbar button
Toolbar button

To save many pages into same folder, [Quick Save] is suitable for the purpose. [Quick Save] will save the page into the preconfigured folder, without File Picker.

You can use [Quick Save] by just clicking [Quick Save] button in your Toolbar. [Quick Save] button can be added from Toolbar's [Customize...].

 

3.6. Save linked page as MHT

Context menu of link
Context menu of link

To save linked page as MHT without opening it, please click [Save linked page as MHT...] in Context menu on the link.

 

3.7. Save selection as MHT

Context menu of selection
Context menu of selection

To save selected area as MHT instead of entire page, please click [Save selection as MHT...] in Context menu after you selected the area you want to save.

 

3.8. Save multiple tabs as MHT at once

Save multiple tabs as MHT
Save multiple tabs as MHT

To save many pages into same folder at once, [Save multiple tabs as MHT] is suitable for the purpose.

You can use [Save multiple tabs as MHT] by clicking it in following menu.

  • File menu
  • Toolbar button menu
  • Tool menu

Or, just clicking [Save multiple tabs as MHT] button in your Toolbar. [Save multiple tabs as MHT] button can be added from Toolbar's [Customize...].

Tabs in current or all windows are listed in listbox. You can specify save or not each tab by checking/unchecking the list item.

 
[Target]
[Current window]

List all tabs in current window in listbox.

[All windows]

List all tabs in all windows in listbox.

[Check all/none]

Check all or none of items at once.

[Filename]

Specify filename for MHT files. [Filename] textbox is used for [single file] format or [Sequential] filename.

[Original Filename]

Use original filename of the page. If the file have no filename, use "index.mht".

[Page Title]

Use title of the page. If the page have no title, filename will be used.

[Sequential]

Use filename specified in [Filename] textbox and add sequential number.

[Custom Filename]

Use Custom Filename.

[Folder]

Folder to store MHT files.

[Save format]
[separated files]

Save each selected tab as a MHT file.

[single file]

Save selected tabs into a single MHT file. Also store index page into MHT file. If you open the MHT file in the browser that UnMHT installed, all tabs are shown (this behavior is customizable). If you open the MHT file in other browser, index page is shown.

[single file (no index)]

Save selected tabs into a single MHT file. Do not store index page into MHT file. If you open the MHT file in other browser, first tab is shown.

[Save state]

Please refer save state.

[change title and description in index page] ([single file] only)

Add description for each tab into index page, or just changing title in index page. You can change them by double clicking in items listbox.

[Additional Files] ([single file] only)

Store additional files in MHT file.


3.9. Store additional files into MHT

Additional Files dialog
Additional Files dialog

You can store additional files such as binary files linked from the document into MHT file. To do it, please choose [Additional Files] in File picker, and enter URLs of files into textbox, one URL per line.

 

3.10. Send page as MHT by E-Mail

Context menu
Context menu

To send page as MHT by E-mail, please click [Send page as MHT by E-mail...] in following menu.

  • Toolbar button menu
  • Tool menu
  • Context menu on webpage

By default, UnMHT uses Thunderbird in standard installed folder in Firefox, and use built-in Mail window in SeaMonkey.
If you want to use other mailer application,
please configure it in Preferences window.

 

3.11. Convert HTML files to MHT

Preferences window - Convert
Preferences window - Convert

You can convert previously saved HTML files to MHT files in Preferences Window.

 

3.12. Use keyboard shortcut

To use [Save as MHT], [Save multiple tabs as MHT] and [Quick Save] from keyboard shortcut, please configure keyboard shortcut in Preferences window.


3.13. Overwrite current MHT file

Overwrite MHT File
Overwrite MHT File

If you have any tools to modify web page directly (ex. Firefox's Inspector, DOM Inspector, or any other tools, etc), you can store modofications of MHT file to same file by clicking [Overwrite MHT File...] in toolbar menu. Instead of [Save as MHT...], you can skip choosing the file to overwrite.

This command can be accessed only if you are opening local MHT file.

 

4. Operating UnMHT


4.1. Operate from Toolbar button

Toolbar button
Toolbar button

After adding Toolbar button, following command can be operate by clicking it.

 

4.2. Operate from menu items

Toolbar button menu
Toolbar button menu

You can operate UnMHT with following Menu.

  • Toolbar button menu
  • Tool menu

Above menus have same menu items.

 
[Preferences...]

Open Preferences window.

[Save as MHT...]

Please refer [Save as MHT].

[Save selection as MHT...]

Please refer [Save selection as MHT].

[Send page as MHT by E-mail...]

Please refer [Send page as MHT by E-mail].

[Save multiple tabs as MHT...]

Please refer [Save multiple tabs as MHT].

[Show cache] (hidden by default)
Cache page
Cache page

Open cache information page. Once you open the MHT file, it will be cached for a while.

 
[Clear cache] (hidden by default)

Clear all caches now.

[Extract] (hidden by default)

Treat current page as MHT file. If server returns MHT file with neither ".mht" extension or "message/rfc822" Content-Type, UnMHT cannot detect that page is MHT, and source will be shown. To open the page correctly, please use this command.

[View source] (hidden by default)

Show source of MHT file. This menu item is available when MHT file is opened.

[Open website]

Open UnMHT website in new tab.


5. Customizing UnMHT

You can customize UnMHT behavior in Preferences window.

To open Preferences window, please click [Preferences...] in following menu.

  • Toolbar button menu
  • Tool menu

Or just clicking [Preferences] button in Addon Manager.


5.1. Preferences - General

Preferences window - General
Preferences window - General

In [General] pane, you can customize behavior of opening MHT file, and import/export/reset all preferences.

 
[Open MHT file]
[Multiple tabs MHT file]

Choose action when you open the MHT file saved from [Save multiple tabs as MHT].

[open all tabs]
[open index page]
[open first tab]
[Skip warning of PowerPoint]

If you open the MHT file saved from PowerPoint, with the non-Internet Extension browser, warning message will be shown in first page. You can skip the warning by turn on this preference.

[Open MHT in offline mode]

Prevent all external loading from MHT file.

[Preferences Import/Export/Reset]
[Import...]

Import preferences from exported file.

[Export...]

Export preferences to file.

[Reset]

Reset preferences to default.


5.2. Preferences - Save - General

Preferences window - Save - General
Preferences window - Save - General

In [Save] pane [General] tab, you can customize behavior of [Save as MHT], and other general setting for saving.

 
[Save MHT file]
[Add saved pages to Download History]

Add saved MHT file to Download History.

[Display progress]
[Dialog]

Display save progress in dialog.

[Toolbar Button]

Display save progress in Toolbar button. (This option is available only on Firefox 29 or later)

[None]

Do not display save progress. Error message will be displayed in dialog

[Show list of not saved files]

Show list of files which are not saved (ex. the file not found), when saving done.

[Show options dialog before Save Dialog]
Save Options dialog
Save Options dialog

Show Save Options dialog to specify save type, additional files before saving.

 
[Save local file into the same folder as original file]

When you save the file which is stored in your local drive, use the same folder as original file instead of default folder.

[Append text to filename]

Append specified text to filenme (ex. if you specify "-unmht", "index.html" will be saved as "index-unmht.mht".)

[Save as MHT]
[Default save state]/[Additional Files]

Specify default choise of [Save as] option in Save dialog.

[Remember last used save state]

default save state is overwritten when you save as MHT with different save state.


5.3. Preferences - Save - Contents

Preferences window - Save - Contents
Preferences window - Save - Contents

In [Save] pane [Contents] tab, you can customize contents to save or not save into MHT file.

 
[Contents]
[HTML5 VIDEO/AUDIO]

Choose whether save or not save file used in HTML5 VIDEO/AUDIO elements.

[Flash/Java Applet]

Choose whether save or not save Flash/Java Applet file used in EMBED/OBJECT elements.

[Header fields]
[Store last modified time of each remote file]

Store Last-Modified field of remote file to saved MHT file.

[Store original fields of E-Mail]

Store header fields of original E-Mail to saved MHT file. (Thunderbird and SeaMonkey Mail only)

[Show header fields in page]

Show header fields on top of saved MHT file. (Thunderbird and SeaMonkey Mail only)

[Add Information]
[Insert Link to original page]

Warning: This feature may break some web page layout, please consider using [Information Panel] instead.

Insert link to original page into top or bottom of the saved HTML file. You can also insert saved date, version information. (This link will not work in Internet Extension.)

[Top of Page]/[Bottom of page]

Choose the position to insert link.

[Date]

Insert date you saved the file.

[Version information]

Insert version information of UnMHT.

[Do not apply to local file]

Do not insert link if you save local file.


5.4. Preferences - Multiple

Preferences window - Multiple
Preferences window - Multiple

In [Multiple] pane, you can customize behavior of [Save multiple tabs as MHT].

 
[Save multiple tabs as MHT]
[Save state]

Specify default choise of [Save state] option in [Save multiple tabs as MHT] dialog.

[Remember last used save state]

default save state is overwritten when you save as MHT with different save state.

[Save format]

Specify default choise of [Save format] option in [Save multiple tabs as MHT] dialog.

[Folder]

Specify default value of [Folder] option in [Save multiple tabs as MHT] dialog.

[When file exists]

Specify the action when the file which has same filename exist.

[Replace]

Overwrite existing file.

[Rename]

Save with the filename with suffix.

[show dialog]

Show Confirm dialog and choose manually.

[Close dialog automatically]

Close dialog automatically when save is done.

[Close saved tabs automatically when saved successfully]

Close selected and successfully saved tab after save. If [Show list of not saved files] is checked and some files are not saved, tabs will not be closed automatically, otherwise, if not checked, tabs will be closed automatically even if some files are not saved.

[Check none as default]

Do not check listed tab as save by default.

[Index page]
[Customize index page style]

Enter CSS for index page.

Element
Class Name
Description
UL
unmht-tabs-list
List of tabs and additional files
LI
unmht-tabs-item
List item of each tabs
LI
unmht-additional-item
List item of each additional files
A
unmht-tabs
Anchor of each tabs
A
unmht-additional
Anchor of each additional files
DIV
unmht-tabs-desc
Description for each tabs

5.5. Preferences - Quick Save

Preferences window - Quick Save
Preferences window - Quick Save

In [Quick Save] pane, you can customize behavior of [Quick Save].

 
[Save state]

Specify save state.

[Folder]

Specify the folder to store MHT file. If this field is empty, the MHT file will be stored into default Download folder. (stored into file:///sdcard/Download/ in Firefox for Mobile)

[When file exists]

Specify the action when the file which has same filename exist.

[Replace]

Overwrite existing file.

[Rename]

Save with the filename with suffix.

[show dialog]

Show Confirm dialog and choose manually.

[Save selection if selected]

Save selected area instead of entire page if you selected any area.


5.6. Preferences - Mail

Preferences window - Mail
Preferences window - Mail

In [Mail] pane, you can customize behavior of [Send page as MHT by E-mail].

 
[Save state]

Specify save state.

[Remember last used save state]

default save state is overwritten when you save as MHT with different save state.

[Application]
[Thunderbird]

Use Thunderbird in standard installed folder.

[SeaMonkey]

Use SeaMonkey in standard installed folder. If UnMHT is running on SeaMonkey, compose mail in current application.

[Mail (Mac)]

Use AppleScript built-in UnMHT to run Mail.app.

[Other]

Specify other mailer.

[Arguments]

Specify command line arguments to run mailer application.

[Thunderbird]

Arguments for Thunderbird.

[SeaMonkey]

Arguments for SeaMonkey as external application. If UnMHT is running on SeaMonkey, this option is not used.

[Mail (Mac)]

Arguments for AppleScript built-in UnMHT to run Mail.app.

[Other]

If you want to use other mailer application, specify appropriate argument to pass attachment file path and subject to mailer.

[Send as a Zip file]

Send MHT file archived in Zip file.


5.7. Preferences - Filename - General

Preferences window - Filename - General
Preferences window - Filename - General

In [Filename] pane, [General] tab, you can customize default filename, and renaming rule when same filename exists, and character replacement in filename.

 
[Default filename]

Specify default filename for [Save as MHT], [Save multiple tabs as MHT] and filename for [Send page as MHT by E-Mail], [Quick Save].

Characters cannot be used in filename will be replaced.

[Filename]
[Original filename]

Use original filename of the page, replacing extension to ".mht". If the file have no filename, use "index.mht".

[Page Title]

Use title of the page, adding ".mht". If the page have no title, filename will be used.

[Custom Filename]

Use Custom Filename.

[When same filename exists]

Specify suffix for alternative filename when the file which has same filename exists. For example, when [Append 2 digits] and [Initial value] is 1, alternative filename for "index.mht" is "index-01.mht", "index-02.mht", ...


5.8. Preferences - Filename - Custom Filename

Preferences window - Filename - Custom Filename
Preferences window - Filename - Custom Filename

In [Filename] pane, [Custom Filename] tab, you can customize Custom Filename template.

If you choose [Custom Filename] for Default filename, UnMHT generates filename for the MHT file automatically from infromation of the page and the date you saved.

 
[Template]

Enter Custom Filename template. Following variables can be used.

[a.m.]

Text for "a.m." of %ampm% variable.

[p.m.]

Text for "p.m." of %ampm% variable.

[limit TITLE and FILENAME to n characters]

Limit %TITLE% and %FILENAME% to specified length.

[Use Date field value of E-Mail for date]

Use Date field value instead of current date for date variables, such as %YYYY%. (Thunderbird and SeaMonkey Mail only)

Variables for Custom Filename
%YYYY%
Year with 4 digits
%YY%
Year with 2 digits
%MM%
Month with 2 digits
%M%
Month
%DD%
Date with 2 digits
%D%
Date
%MMM%
Short Weekday (Sun, Mon, ...)
%MMMM%
Full Weekday (Sunday, Monday, ...)
%HH%
Hours with 2 digits (00 to 23)
%H%
Hours (0 to 23)
%hh%
Hours with 2 digits (00 to 11)
%h%
Hours (0 to 11)
%mm%
Minutes with 2 digits
%m%
Minutes
%ss%
Seconds with 2 digits
%s%
Seconds
%ampm%
"a.m." or "p.m." (Customizable)
%TITLE%
Title of the page
%FILENAME%
Original filename of the page.
%URL%
Full URL of the page
ex.
http://unmht.org/sample.cgi?page=2#chapter2
%URL2%
URL without leading "http://"
ex.
unmht.org/sample.cgi?page=2#chapter2
%SCHEME%
Scheme of URL
ex.
http
for http://unmht.org/sample.cgi?page=2#chapter2
%HOST%
Host part of URL
ex.
unmht.org
for http://unmht.org/sample.cgi?page=2#chapter2
%PORT%
Port of URL
ex.
80
for http://unmht.org/sample.cgi?page=2#chapter2
%FULLPATH%
Path of URL
ex.
/sample.cgi?page=2#chapter2
for http://unmht.org/sample.cgi?page=2#chapter2
%PATH%
Path of URL without query and fragment
ex.
/sample.cgi
for http://unmht.org/sample.cgi?page=2#chapter2
%QUERY%
Query part of URL
ex.
page=2
for http://unmht.org/sample.cgi?page=2#chapter2
%FRAGMENT%
Fragment part of URL
ex.
chapter2
for http://unmht.org/sample.cgi?page=2#chapter2

5.9. Preferences - Filename - Replace

Preferences - Filename - Replace
Preferences - Filename - Replace

In [Filename] pane, [Replace] tab, you can customize character replacement in filename.

This replacement is operated before replacement of Characters cannot be used in filename. So you can customize replaced character by this option.

 
[From]/[To]

Define character (or character sequence) replacement in filename. If [From] character(s) found in filename, it is replaced by [To] character(s).

[example 1]

[From] >
[To] )

[Result]

"UnMHT for Firefox > User's Manual (Ver.6.5.0)"
  will be converted to
"UnMHT for Firefox ) User's Manual (Ver.6.5.0)"

[example 2]

[From] Firefox
[To] Fx

Result]

"UnMHT for Firefox > User's Manual (Ver.6.5.0)"
  will be converted to
"UnMHT for Fx > User's Manual (Ver.6.5.0)"

[New]

Create new entry.

[Duplicate]

Duplicte selected entries.

[Delete]

Delete selected entries.


5.10. Preferences - Menu

Preferences window - Menu
Preferences window - Menu

In [Menu] pane, you can show/hide Menu items.

 
[Add to Context Menu]
[Save as MHT...]

Add [Save as MHT...], [Save selection as MHT...], [Save linked page as MHT...].

[Quick Save]

Add [Quick Save].

[Send page as MHT by E-mail...]

Add [Send page as MHT by E-mail...].


5.11. Preferences - Keyboard

Preferences window - Keybaord
Preferences window - Keybaord

In [Keyboard] pane, you can customize keyboard shortcut for [Save as MHT...], [Save multiple tabs as MHT...] and [Quick Save].

 

5.12. Preferences - Convert

Preferences window - Convert
Preferences window - Convert

In [Convert] pane, you can convert HTML file and folder which contains resource file in local drive to MHT file.

 

To convert, please choose one of following operation.

  • Click [Select individual file to convert...] and select one ore more files to convert.
  • Click [Select enter folder to convert...] and select a folder which contains files to convert.
  • Drag and drop one or more files to convert to Convert pane in Preferences window.
  • Drag and drop one or more folders which contains files to convert to Convert pane in Preferences window.
[Select individual file to convert...]

Select one or more files and convert them, and convert them.

[Select enter folder to convert...]

Select a folder and convert files in the folder, and convert them.

[Suffix of folder name]

Specify the folder suffix which contains resoure file. (ex. "index_files" is used for "index.html" when "_files" is specified)

[Search Sub-folders]

Search HTML files in sub-folders of selected/dropped folders and convert them.


5.13. Preferences - Advanced - General

Preferences window - Advanced - General
Preferences window - Advanced - General

 
[Add to Menu]
[Show cache/Chear cache]

Add [Show cache], [Clear cache] into Toolbar button menu and Tool menu.

[Extract/View source]

Add [Extract], [View source] into Toolbar button menu and Tool menu.

[Cache]
[Show cache]
Cache page
Cache page

Open cache information page. Once you open the MHT file, it will be cached for a while.

 
[Clear cache]

Clear all caches now.


5.14. Preferences - Advanced - Save

Preferences window - Advanced - Save
Preferences window - Advanced - Save

 
[Save MHT file]
[Wait before closing Save Dialog]

When save is done correctly, Save Dialog is automatically closed after specified time.

[Add Information]
[Insert URL as a COMMENT]

Insert URL of original page as HTML COMMENT. This information is not shown when you open the file in your browser.

[Send page as MHT by E-Mail]
[Debug mode]

Show command line information to run mailer application.Please use for debugging if you use other application.

[Filename]
[Do not replace '!' and '#']

Do not replace '!' and '#' to '_' on Windows. Note that '!' and '#' chars in filename will give problems when using Internet Explorer.


5.15. Firefox for Mobile

Preferences page in Firefox for Mobile
Preferences page in Firefox for Mobile

To open Preferences page on Firefox for Mobile, please click UnMHT in [Tools]-[Add-ons] page.

 

6. Confirm dialog

Confirm dialog
Confirm dialog

When the file which have same filename exists, Confirm dialog will be shown (by default, dialog is not shown and file is renamed).

 
[Replace]

Overwrite existing file.

[Rename]

Save as specified name.

[Skip]

Skip this file.

[Abort]

Cancel this file and remaining all files.

[Apply to all]

Apply this choice to remaining all files. ([Save multiple tabs as MHT] only)


7. Characters cannot be used in filename

Following characters are in filename for saving will be replaced automatically, caused by restriction of Operationg System or browser.

This rule can be modified in [Replace] tab in Preferences Window.

Replacement Rule
OS
Characters
cannot be used
Replacement
Reason
Windows
\
_
Cannot be used in filename.
/
_
|
_
*
_
:
_
?
_
"
'
<
(
>
)
#
_
Internet Explorer fails to open the MHT file
with filename containing these characters,
when charset auto detection failed.
!
_
Mac OS X
:
_
Cannot be used in filename.
/
_
Linux
UNIX
/
_
Cannot be used in filename.

8. Difference in Firefox for Mobile

Following features are not available in Firefox for Mobile:

  • Save as MHT with File Picker Dialog (Quick Save is available)
  • Information Panel
  • Save multiple tabs as MHT
  • Send page as MHT
  • Overwrite current MHT file
  • Filename character replacement
  • Keyboard shortcut
  • Convert HTML to MHT
  • Toolbar buttons
  • Show Save Progress in Dialog (result is shown in toast notification and doorhanger)
  • Extract/Show Source
  • Import/Export Preferences

9. Hidden Configuration

These setting are read at Add-on startup. After change these, please disable and enable UnMHT to reflect them.

extensions.unmht.integrataion.maf

boolean
Integrate [Save as MHT] to Built-in Save-as Dialog with interface provided by MAF.

extensions.unmht.integrataion.scrapbook

boolean
Show [Save as MHT] menuitem in ScrapBook menu.

extensions.unmht.protocol.mhtml

boolean
Redirect mhtml: scheme to original URL.

extensions.unmht.open.extensions

string (JSON: {Array.<string>})
Handle file which has specified extension, even if the file does not have MIME-Type of MHT.

extensions.unmht.open.mime.types

string (JSON: {Array.<string>})
Handle file which has specified MIME-Type.

extensions.unmht.open.mime.extensions

string (JSON: {Array.<[string,string]>})
Associate specified extension to MIME-Type, and handle the file.


10. Known Problems

  • If Keybaord shortcut is same to other function, both will be fired.
  • This extension conflicts with IETab and its default setting.
    Delete the following Site filter from IETab.
    /^file:\/\/\/.*\.(mht|mhtml)$/
  • Flash or JavaScript which need communication with server cannot be saved correctly.
  • MHT file is opened as e-Mail in SeaMonkey if Content-Type is message/rfc822.