1
0
Эх сурвалжийг харах

set insertFaviconLink to true into single-file-core

Gildas 7 жил өмнө
parent
commit
dfb8dd2997

+ 0 - 1
cli/back-ends/puppeteer.js

@@ -90,7 +90,6 @@ exports.getPageData = async options => {
 		});
 		return await page.evaluate(async options => {
 			options.insertSingleFileComment = true;
-			options.insertFaviconLink = true;
 			const preInitializationPromises = [];
 			if (!options.saveRawPage) {
 				if (!options.removeFrames) {

+ 0 - 1
cli/back-ends/webdriver.js

@@ -104,7 +104,6 @@ function getPageDataScript() {
 
 	async function getPageData() {
 		options.insertSingleFileComment = true;
-		options.insertFaviconLink = true;
 		const preInitializationPromises = [];
 		if (!options.saveRawPage) {
 			if (!options.removeFrames) {

+ 0 - 1
extension/core/content/content.js

@@ -72,7 +72,6 @@ this.singlefile.top = this.singlefile.top || (() => {
 		const processor = new SingleFile(options);
 		const preInitializationPromises = [];
 		options.insertSingleFileComment = true;
-		options.insertFaviconLink = true;
 		if (!options.saveRawPage) {
 			if (!options.removeFrames && this.frameTree) {
 				let frameTreePromise;

+ 1 - 0
lib/single-file/single-file-core.js

@@ -36,6 +36,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 	class SingleFileClass {
 		constructor(options) {
 			this.options = options;
+			options.insertFaviconLink = true;
 			if (options.sessionId === undefined) {
 				options.sessionId = sessionId;
 				sessionId++;