@@ -101,7 +101,8 @@ const DEFAULT_CONFIG = {
warnUnsavedPage: true,
autoSaveExternalSave: false,
insertMetaNoIndex: false,
- passReferrerOnError: false
+ passReferrerOnError: false,
+ insertSingleFileComment: true
};
let configStorage;
@@ -114,7 +114,6 @@ async function processPage(options) {
ui.onStartPage(options);
processor = new singlefile.SingleFile(options);
const preInitializationPromises = [];
- options.insertSingleFileComment = true;
options.insertCanonicalLink = true;
if (!options.saveRawPage) {
if (!options.removeFrames && frames && globalThis.frames && globalThis.frames.length) {
@@ -71,7 +71,6 @@ async function getPageData(options = {}, initOptions, doc = globalThis.document,
}
options.doc = doc;
options.win = win;
options.onprogress = event => {
if (event.type === event.RESOURCES_INITIALIZED && doc && win && options.loadDeferredImages) {