|
@@ -24,6 +24,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
const SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME = "data-single-file-selected-content-root";
|
|
const SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME = "data-single-file-selected-content-root";
|
|
|
const REMOVED_CONTENT_ATTRIBUTE_NAME = "data-single-file-removed-content";
|
|
const REMOVED_CONTENT_ATTRIBUTE_NAME = "data-single-file-removed-content";
|
|
|
const PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME = "data-single-file-preserved-space-element";
|
|
const PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME = "data-single-file-preserved-space-element";
|
|
|
|
|
+ const WIN_ID_ATTRIBUTE_NAME = "data-frame-tree-win-id";
|
|
|
|
|
|
|
|
let Download, DOM, URL;
|
|
let Download, DOM, URL;
|
|
|
|
|
|
|
@@ -36,6 +37,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
this.REMOVED_CONTENT_ATTRIBUTE_NAME = REMOVED_CONTENT_ATTRIBUTE_NAME;
|
|
this.REMOVED_CONTENT_ATTRIBUTE_NAME = REMOVED_CONTENT_ATTRIBUTE_NAME;
|
|
|
this.SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME = SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME;
|
|
this.SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME = SELECTED_CONTENT_ROOT_ATTRIBUTE_NAME;
|
|
|
this.PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME = PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME;
|
|
this.PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME = PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME;
|
|
|
|
|
+ this.WIN_ID_ATTRIBUTE_NAME = WIN_ID_ATTRIBUTE_NAME;
|
|
|
}
|
|
}
|
|
|
async initialize() {
|
|
async initialize() {
|
|
|
this.processor = new PageProcessor(this.options);
|
|
this.processor = new PageProcessor(this.options);
|
|
@@ -205,7 +207,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
// ------------
|
|
// ------------
|
|
|
const ESCAPED_FRAGMENT = "_escaped_fragment_=";
|
|
const ESCAPED_FRAGMENT = "_escaped_fragment_=";
|
|
|
const EMPTY_DATA_URI = "data:base64,";
|
|
const EMPTY_DATA_URI = "data:base64,";
|
|
|
- const WIN_ID_ATTRIBUTE_NAME = "data-frame-tree-win-id";
|
|
|
|
|
|
|
|
|
|
const batchRequest = new BatchRequest();
|
|
const batchRequest = new BatchRequest();
|
|
|
|
|
|