|
@@ -309,7 +309,8 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
asDataURI,
|
|
asDataURI,
|
|
|
maxResourceSize: options.maxResourceSize,
|
|
maxResourceSize: options.maxResourceSize,
|
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
|
- referrerPolicy: options.referrerPolicy
|
|
|
|
|
|
|
+ referrerPolicy: options.referrerPolicy,
|
|
|
|
|
+ credentials: options.credentials
|
|
|
});
|
|
});
|
|
|
indexResource = indexResource + 1;
|
|
indexResource = indexResource + 1;
|
|
|
onloadListener({ url: resourceURL });
|
|
onloadListener({ url: resourceURL });
|
|
@@ -374,7 +375,8 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
maxResourceSize: this.options.maxResourceSize,
|
|
maxResourceSize: this.options.maxResourceSize,
|
|
|
maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
|
|
maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
|
|
|
charset,
|
|
charset,
|
|
|
- referrerPolicy: this.options.referrerPolicy
|
|
|
|
|
|
|
+ referrerPolicy: this.options.referrerPolicy,
|
|
|
|
|
+ credentials: this.options.credentials
|
|
|
});
|
|
});
|
|
|
pageContent = content.data;
|
|
pageContent = content.data;
|
|
|
}
|
|
}
|
|
@@ -1084,7 +1086,8 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
asDataURI: true,
|
|
asDataURI: true,
|
|
|
maxResourceSize: this.options.maxResourceSize,
|
|
maxResourceSize: this.options.maxResourceSize,
|
|
|
maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
|
|
maxResourceSizeEnabled: this.options.maxResourceSizeEnabled,
|
|
|
- referrerPolicy: this.options.referrerPolicy
|
|
|
|
|
|
|
+ referrerPolicy: this.options.referrerPolicy,
|
|
|
|
|
+ credentials: this.options.credentials
|
|
|
});
|
|
});
|
|
|
scriptElement.setAttribute("src", content.data);
|
|
scriptElement.setAttribute("src", content.data);
|
|
|
}
|
|
}
|
|
@@ -1363,7 +1366,8 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
maxResourceSize: options.maxResourceSize,
|
|
maxResourceSize: options.maxResourceSize,
|
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
|
validateTextContentType: true,
|
|
validateTextContentType: true,
|
|
|
- referrerPolicy: options.referrerPolicy
|
|
|
|
|
|
|
+ referrerPolicy: options.referrerPolicy,
|
|
|
|
|
+ credentials: options.credentials
|
|
|
});
|
|
});
|
|
|
resourceURL = content.resourceURL;
|
|
resourceURL = content.resourceURL;
|
|
|
let importedStylesheetContent = Util.removeCssComments(content.data);
|
|
let importedStylesheetContent = Util.removeCssComments(content.data);
|
|
@@ -1432,7 +1436,8 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
maxResourceSize: options.maxResourceSize,
|
|
maxResourceSize: options.maxResourceSize,
|
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
maxResourceSizeEnabled: options.maxResourceSizeEnabled,
|
|
|
charset: options.charset,
|
|
charset: options.charset,
|
|
|
- referrerPolicy: options.referrerPolicy
|
|
|
|
|
|
|
+ referrerPolicy: options.referrerPolicy,
|
|
|
|
|
+ credentials: options.credentials
|
|
|
});
|
|
});
|
|
|
resourceURL = content.resourceURL;
|
|
resourceURL = content.resourceURL;
|
|
|
let stylesheetContent = Util.removeCssComments(content.data);
|
|
let stylesheetContent = Util.removeCssComments(content.data);
|