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
This commit is contained in:
Adomas Venčkauskas 2022-08-11 13:43:13 +03:00
parent 2dd54fddf4
commit d6909ec8e5

View file

@ -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,