single-file-core 1.2.36 → 1.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/index.js +3 -2
- package/package.json +1 -1
package/core/index.js
CHANGED
|
@@ -168,7 +168,7 @@ const STAGES = [{
|
|
|
168
168
|
}, {
|
|
169
169
|
sequential: [
|
|
170
170
|
{ action: "loadOptionsFromPage" },
|
|
171
|
-
{ option: "
|
|
171
|
+
{ option: "saveFilenameTemplateData", action: "saveFilenameTemplateData" },
|
|
172
172
|
]
|
|
173
173
|
}];
|
|
174
174
|
|
|
@@ -650,7 +650,7 @@ class Processor {
|
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
|
|
653
|
+
saveFilenameTemplateData() {
|
|
654
654
|
const optionsElement = this.doc.createElement("script");
|
|
655
655
|
optionsElement.type = "application/json";
|
|
656
656
|
optionsElement.setAttribute(SCRIPT_OPTIONS, "");
|
|
@@ -1206,6 +1206,7 @@ class Processor {
|
|
|
1206
1206
|
options.insertMetaNoIndex = false;
|
|
1207
1207
|
options.saveFavicon = false;
|
|
1208
1208
|
options.includeInfobar = false;
|
|
1209
|
+
options.saveFilenameTemplateData = false;
|
|
1209
1210
|
options.url = frameData.baseURI;
|
|
1210
1211
|
options.windowId = frameWindowId;
|
|
1211
1212
|
if (frameData.content) {
|