From d6909ec8e587057e05b3b69ab9e50e090e712fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 11 Aug 2022 13:43:13 +0300 Subject: [PATCH] Update SingleFile config for current version They got updated upstream and the backwards-compat code does not run for the way we execute singlefile See https://github.com/gildas-lormeau/SingleFile/issues/1021 Addresses https://github.com/zotero/zotero-connectors/issues/398 --- chrome/content/zotero/xpcom/singlefile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/singlefile.js b/chrome/content/zotero/xpcom/singlefile.js index 4e96ee17bf..4036a5600c 100644 --- a/chrome/content/zotero/xpcom/singlefile.js +++ b/chrome/content/zotero/xpcom/singlefile.js @@ -32,7 +32,9 @@ Zotero.SingleFile = Object.assign(Zotero.SingleFile || {}, { removeUnusedFonts: true, removeFrames: true, removeImports: true, - removeScripts: true, + blockScripts: true, + blockVideos: true, + blockAudios: true, compressHTML: true, compressCSS: false, loadDeferredImages: true, @@ -58,8 +60,6 @@ Zotero.SingleFile = Object.assign(Zotero.SingleFile || {}, { progressBarEnabled: true, maxResourceSizeEnabled: false, maxResourceSize: 10, - removeAudioSrc: true, - removeVideoSrc: true, displayInfobar: true, displayStats: false, backgroundSave: true,