소스 검색

activate "remove images for alternative resolutions" by default

Gildas 7 년 전
부모
커밋
3e5556f04d
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      extension/core/bg/config.js

+ 4 - 1
extension/core/bg/config.js

@@ -49,7 +49,7 @@ singlefile.config = (() => {
 		autoSaveLoadOrUnload: true,
 		removeAlternativeFonts: true,
 		removeAlternativeMedias: true,
-		removeSrcSet: false
+		removeSrcSet: true
 	};
 
 	let pendingUpgradePromise;
@@ -137,6 +137,9 @@ singlefile.config = (() => {
 		if (config.removeAlternativeMedias === undefined) {
 			config.removeAlternativeMedias = true;
 		}
+		if (config.removeSrcSet === undefined) {
+			config.removeSrcSet = true;
+		}
 		if (config.autoSaveLoadOrUnload === undefined && !config.autoSaveUnload) {
 			config.autoSaveLoadOrUnload = true;
 			config.autoSaveLoad = false;