Explorar o código

disable remove hidden elements by default

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
0aa653d240
Modificáronse 2 ficheiros con 1 adicións e 6 borrados
  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>