You can customize SingleFile through the options page. Right-click on SingleFile button
in the browser toolbar and select "Options"/"Manage extension"
in the context menu to open the options page.
Profiles
A profile is a set of user-defined options associated to a unique name.
The drop-down list in the upper right of the options page allows you to select a profile and modify the associated options. The buttons next to the drop-down list allows you respectively to create, delete and rename a profile.
You can select the default profile through the context menu of SingleFile. The selection is persistent and applied to all tabs.
You can also override the default profile by associating a profile to a complete or partial URL. See the description of the Auto-settings rules feature for more info.
User interface
Check this option to display an entry for SingleFile in the context menu of the webpage. The context menu of
the SingleFile button
in the extension toolbar is displayed
wether this option is checked or not.
It is recommended to check this option
Check this option to overlay a shadow on the page when SingleFile is retrieving page resources. This reminds you that you should not close the tab.
It is recommended to check this option
Check this option to display the ℹ button at the top right of the page when viewing a saved page. By clicking this icon, you can get more information about the saved date and open the original URL.
It is recommended to check this option
The template allows you to customize the content displayed in the infobar. You can use any valid character,
\n for new lines or \t for tabs. You can also use any variables from this
list anywhere in the template. If the template or the resulting content is empty, the infobar will display
the saved date by default.
Template Examples
{url-href} ({date-iso}) will produce contents like "https://www.example.com (2018-09-15 11 06
03 PM)".Title: {page-title} will produce contents like "Title: Example Domain" for a page having
"Example Domain" as title.Check this option to display a prompt dialog in order to confirm the infobar content before saving the page.
File name
The template allows you to customize the file name of saved pages. You can use any valid character and "/" to create sub-folders (with the option "save pages in background" active). You can also use any variables from this list anywhere in the template.
Note that invalid characters are automatically transformed and collapsed to underscores. File names cannot exceed 192 characters and are truncated if longer. The invalid characters are: [, ~, \, ?, %, *, :, |, ", <, >, and control characters from 0 to 31 in the ASCII table.
Template Examples
{page-title} ({date-iso} {time-locale}).html will produce filenames like "Introduction to
SingleFile (2018-09-15 11_06_03 PM).html" for a page having "Introduction to SingleFile" as title.archives/{url-last-segment} - {date-iso} will produce filenames like "welcome - 2018-09-15" for
a page hosted on https://example.com/welcome.html. The saved files will be saved in the sub-directory
"archives".archives/{year-locale}/{month-locale}/{day-locale}/{page-title}.html will produce filenames
like "Introduction to SingleFile.html" stored into 3 sub-directories in the "archives" folder, one for each
part of the save date (e.g. "2018/9/15/Introduction to SingleFile.html").Check this option to display the "Save as" dialog in order to confirm the file name before saving the page. If the option "save pages in background" is unchecked then a prompt dialog will be displayed instead of the "Save as" dialog.
It is recommended to uncheck this option
Choose the most appropriate action when a the filename of the saved page is conflicting with existing ones on the filesystem.
HTML content
Check this option to remove all HTML comments, and unneeded spaces or returns. This helps to reduce the size of the file without altering the document.
It is recommended to check this option
Check this option to remove all link elements used to import HTML documents. This can help to reduce the size of the file without altering the document most of the time.
It is recommended to check this option
Check this option to remove all hidden elements. This option can help to reduce the size of the file without altering the document.
It is recommended to check this option
Check this option to remove all frame and iframe elements. This can considerably reduce the size of the file without altering the document most of the time. Checking this option may also decrease the time needed to save a page
Stylesheets
Check this option to minify CSS stylesheets. This the size of the file without altering the document.
It is recommended to check this option
Check this option to remove all CSS rules and styles that do not match any element. Checking this option will not alter the document and can considerably reduce the size of the file. Checking this option will also increase the CPU consumption and the time needed to save a page.
It is recommended to check this option
Check this option to remove stylesheets that are not used for the screen display like stylesheets for print preview and speech synthesizers. Checking this this option can help to reduce the size of the file.
Images
Check this option to avoid saving multiple times duplicate images. Checking this this option should not alter the document in modern browsers and can considerably reduce the size of the file. Checking this this option option may also increase the CPU consumption and the time needed to save a page
It is recommended to check this option
Check this option to save all the deferred images that are not displayed. This may help to save all the images without scrolling the page. This feature does its best effort and is not guaranteed to work on all sites.
It is recommended to check this option
Specify the maximum delay of time to wait for deferred images. You can increase this value if for example the network or system conditions are degraded. You can also decrease this value otherwise.
Check this option to remove images that are alternatives in lower and/or higher resolutions to the ones displayed by default. Checking this this option can considerably reduce the size of the file in some cases.
Fonts
Check this option to remove all Fonts rules that do not match any content. Checking this option should not alter the document and can considerably reduce the size of the file.
It is recommended to check this option
Check this option to remove fonts that are alternatives to the ones used. Checking this this option should not alter the document and can considerably reduce the size of the file.
It is recommended to check this option
Other resources
Check this option to remove all scripts. Unchecking this option may alter the document and lead to security issues.
It is recommended to check this option
Check this option to empty the "src" attribute of all video elements.
It is recommended to check this option
Check this option to empty the "src" attribute of all audio elements.
It is recommended to check this option
Auto-save
Check this option to auto-save pages after being loaded. If you browse to another page before the page is fully loaded then the page will be saved just before being unloaded. With this option active, you are guaranteed pages will always be saved but some frame contents may be missing (if you unchecked "remove frames") when pages are saved before being unloaded.
Check this option to auto-save pages after being loaded.
Check this option to auto-save pages before being unloaded instead of saving pages after being loaded. With this option active, you are guaranteed pages will always be saved but some frame contents may be missing (if you unchecked "remove frames").
Specify the amount of time in seconds to wait before saving a page when the "auto-save on page load or on page unload" or "auto-save on page load" is checked.
Misc.
Uncheck this option if you get invalid file names like "37bec68b-446a-46a5-8642-19a89c231b46.html" or interrupted downloads when saving pages. Unchecking this option prevent saving files in sub-directories.
It is recommended to check this option
Check this option to display stats about processing in the JavaScript developer tools of your browser. Checking this option may increase the CPU consumption and the time needed to save a page.
It is recommended to uncheck this option
Specify the maximum size of each embedded resources (i.e. images, stylesheets, scripts and iframes) in megabytes.
Check this option to save the page without interpreting JavaScript. Checking this option may alter the document, and force the options "remove frames" to be enabled and "load deferred images" to be disabled.
It is recommended to uncheck this option
Auto-settings rules
Form buttons
Reset all options to their default values.
The template variables are used to customize the infobar content or the file name of a saved page. They help to insert dynamic values like the save date or the page title.
{page-title}: the title of the page{page-language}: the language of the page{page-description}: the description of the page{page-author}: the author of the page{page-creator}: the creator of the page{page-publisher}: the publisher of the page{datetime-iso}: the save date and time in the ISO format (e.g. "2018-09-15T22_38_26_317Z"){datetime-utc}: the save date and time in UTC format (e.g. "Sat, 15 Sep 2018 22_38_26 GMT"){datetime-locale}: the localized value of the date and time (e.g. "9_16_2018, 12_54_31 AM"){date-iso}: the save date in the ISO format (e.g. "2018-09-15"){date-locale}: the localized value of the save date (e.g. "16_09_2018"){time-iso}: the save time in the ISO format (e.g. "22_38_26_317"){time-locale}: the localized value of the save time (e.g. "00_38_26"){day-utc}: the day of the save date in UTC format (e.g. "15"){day-locale}: the localized value of the day (e.g. "15"){month-utc}: the month of the save date in UTC format (e.g. "09"){month-locale}: the localized value of the month (e.g. "09"){year-utc}: the year of the save date in UTC format (e.g. "2018"){year-locale}: the localized value of the year (e.g. "2018"){hours-utc}: the hour of the save date in UTC format (e.g. "20"){hours-locale}: the localized value of the hour (e.g. "22"){minutes-utc}: the minutes of the save date in UTC format (e.g. "38"){minutes-locale}: the localized value of the minutes (e.g. "38"){seconds-utc}: the seconds of the save date in UTC format (e.g. "31"){seconds-locale}: the localized value of the seconds (e.g. "31"){url-href}: the URL of the page (e.g. "http_example.com"){url-pathname}: the path name of the URL (e.g. "category_index.html"){url-last-segment}: the last part of the pathname (without the extension) or the host if not
found (e.g. "index"){url-protocol}: the protocol of the URL (e.g. "https"){url-host}: the host name + the port of the URL (e.g. "example.com_8080"){url-hostname}: the host name of the URL (e.g. "example.com"){url-port}: the port of the URL (e.g. "8080"){url-username}: the user name of the URL (e.g. "john_doe"){url-password}: the password of the URL (e.g. "qwerty123"){url-search}: the search string of the URL (e.g. "filter-date=today"){url-hash}: the hash of the URL (e.g. "chapter-2"){url-referrer}: the URI of the page that "linked" to the page (e.g. "http_example.com"){tab-id}: the unique identifier of the tab (e.g. "326"){digest-sha-256}: the SHA-256 hash value of the entire page content (e.g.
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855){digest-sha-384}: the SHA-384 hash value of the entire page content{digest-sha-512}: the SHA-512 hash value of the entire page contentPlease follow these steps if you find an unknown issue:
Suggestions are welcome :)