Просмотр исходного кода

disable "remove frames" and "load deferred images" if "save raw page" is checked

Gildas 7 лет назад
Родитель
Сommit
725d2afdc8
2 измененных файлов с 4 добавлено и 3 удалено
  1. 2 0
      extension/ui/bg/ui-options.js
  2. 2 3
      extension/ui/pages/help.html

+ 2 - 0
extension/ui/bg/ui-options.js

@@ -489,6 +489,8 @@
 		removeAlternativeMediasInput.checked = profileOptions.removeAlternativeMedias;
 		infobarTemplateInput.value = profileOptions.infobarTemplate;
 		confirmInfobarInput.checked = profileOptions.confirmInfobarContent;
+		removeFramesInput.disabled = saveRawPageInput.checked;
+		loadDeferredImagesInput.disabled = saveRawPageInput.checked;
 	}
 
 	function getProfileText(profileName) {

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

@@ -399,9 +399,8 @@
 					<li>
 						<span class="option">Option: save raw page</span>
 						<p>Check this option to save the page without interpreting JavaScript. Checking this option may alter the
-							document.</p>
-						<p class="notice">It is recommended to
-							<u>uncheck</u> this option</p>
+							document, and force the options "remove frames" to be enabled and "load deferred images" to be disabled.</p>
+						<p class="notice">It is recommended to <u>uncheck</u> this option</p>
 					</li>
 				</ul>
 				<p id="auto-settings-rules">Auto-settings rules</p>