What is the "Save as MHTML" add-on and how can I use it?
This extension is designed to save the currently active page in MHTL/MHT format which is an excellent format for archiving a webpage. This is basically a tool that helps users to create a snapshot of a page as it is and keep it for later offline access. For instance, a webpage might change and some of its online resources might not be available in the future. By saving the page in MHT format, you will be sure that the content is accessible anytime intact. Also, you can have the page load just fine even if there is no internet connection available.
What's new in this version?
Please check the Logs section.
What is the difference between MHTML and MHT formats?
Nothing basically. These two archiving file extensions are equivalent and both provide offline accessible HTML format that all modern browsers can open.
What is the difference between MHTML and HTML formats and why do I need to use this extension to save webpages instead of the default Ctrl + S saving method?
The MHTML (short for MIME HTML) is a file extension that is used to save an HTML document like exactly like the default HTML format but with converted online resources. Basically, all the online resources are being fetched once and will be converted to local equivalents (data-URL). Hence your browser won't need to refetch them when the webpage is being parsed later.
Where does this extension save the downloaded files?
This extension uses the default download directory of your browser to save the files. You can also use the download manager window of your browser to open this directory. If you haven't manually changed this directory on the options page, it is
Can I alter the name that is used to save the MHTML files?
This extension uses a template to generate the filename based on the current page title and the current date. The default format is
[title]. To have a fixed name, simply replace the default template with a fixed name like "saved". To restore the default format, clear the formatting box. The following keywords are available:
I only need some part of the page to be saved as the MHTML file, not the entire page. Is it possible to declutter the page first?
You have two options on the right-click context menu of the browser action (toolbar) button. You can first select the part of the page that is needed and then press the "Keep Selection Only" item to create a new document from the selected area. If the document lost its styling, refresh the page to start over. Alternatively, use the "Toggle Edit Mode" item to switch the document to the design mode. In the design mode, you can select an area and press the "Delete" button to remove it. Also, you can append new content or images to the document. In the design mode, the extension adds a toolbar to the page to provide the editing tools for you. When the editing is over, press the "Close" button to switch off the design mode.
Is one able to open MHTML documents and print them?
Drop the MHTML file into your browser window, then print it like an HTML file by pressing Ctrl + P or Command + P keyboard shortcut.
It is helpful to include the page's metadata info (e.g. URL, Title, ...) to the saved file. Is it possible?
As of version 0.1.8, there is a new context menu item for the right-click context menu over the toolbar button to insert a metadata section on top of the page. Since some sites use fixed headers, inserting metadata might break the page layout. So make sure to test the generated page and uncheck this option if necessary.
Can I change the filename used for saving?
Go to the options page of the extension and modify the filename accordingly. You have the following keywords available, which get replaced based on the page title and its URL:
What is the meaning of the
Replace "blob:" resources option on the right-click context menu of the action button?
This option fixes an internal chrome engine's bug that causes a page with "blob:" resources to not convert correctly to MHTML archive format. If the option is enabled, the extension searches for all these resources and replaces the "blob:" with "cid:blob." to fix this issue.
I saved an MHTML file and forgot the source page. Is it possible to get the details of the original page?
Open the file with a text editor. There is a metadata section on top of every MHTML file that contains both the original link and the time the snapshot is generated.
What is the meaning of the 'Max "[title]" Length' option?
This option truncates the "[title]" keyword to the maximum length provided here. This is useful to prevent the filename from exceeding the maximum character length. If your operating system does not have maximum filename limitation, use a big number here to prevent truncation.
Please keep reviews clean, avoid the use of improper language and do not post any personal information.
|storage||to keep locally used preferences|
|pageCapture||to ask the internal API to generate the MHTML binary data of the currently active tab|
|activeTab||to limit the page access of the extension only when there is a user-action involved (click on the toolbar area)|
|downloads||to save the generated binary file to the local disk (default download directory of the user)|
|notifications||to display warnings in case the binary generation failed|