فهرست منبع

disable remove hidden elements by default

Gildas 7 سال پیش
والد
کامیت
0aa653d240
2فایلهای تغییر یافته به همراه1 افزوده شده و 6 حذف شده
  1. 1 4
      extension/core/bg/config.js
  2. 0 2
      extension/ui/pages/help.html

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

@@ -23,7 +23,7 @@
 singlefile.config = (() => {
 
 	const DEFAULT_CONFIG = {
-		removeHiddenElements: true,
+		removeHiddenElements: false,
 		removeUnusedStyles: true,
 		removeFrames: true,
 		removeImports: true,
@@ -110,9 +110,6 @@ singlefile.config = (() => {
 		if (config.removeVideoSrc === undefined) {
 			config.removeVideoSrc = true;
 		}
-		if (config.removeHiddenElements === undefined) {
-			config.removeHiddenElements = true;
-		}
 		if (config.displayInfobar === undefined) {
 			config.displayInfobar = true;
 		}

+ 0 - 2
extension/ui/pages/help.html

@@ -151,8 +151,6 @@
 						<span class="option">remove hidden elements</span>
 						<p>Check this option to remove all hidden elements. This option can considerably reduce the size of the file without altering
 							the document most of the time.</p>
-						<p class="notice">It is recommended to
-							<u>check</u> this option</p>
 					</li>
 
 					<li>