From ba8676c4ba520aa6b08bbc865f5b1ff4370c1c85 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 16 Aug 2022 16:18:09 +0200 Subject: [PATCH] 'Save chrome screenshot' checkbox never used, removing, we always save the screenshot. (#844) --- changedetectionio/forms.py | 1 - changedetectionio/model/App.py | 1 - changedetectionio/templates/settings.html | 6 ------ 3 files changed, 8 deletions(-) diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index b8ca6695..f5a10283 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -384,7 +384,6 @@ class globalSettingsApplicationForm(commonSettingsForm): global_subtractive_selectors = StringListField('Remove elements', [ValidateCSSJSONXPATHInput(allow_xpath=False, allow_json=False)]) global_ignore_text = StringListField('Ignore Text', [ValidateListRegex()]) ignore_whitespace = BooleanField('Ignore whitespace') - real_browser_save_screenshot = BooleanField('Save last screenshot when using Chrome?') removepassword_button = SubmitField('Remove password', render_kw={"class": "pure-button pure-button-primary"}) empty_pages_are_a_change = BooleanField('Treat empty pages as a change?', default=False) render_anchor_tag_content = BooleanField('Render anchor tag content', default=False) diff --git a/changedetectionio/model/App.py b/changedetectionio/model/App.py index 6e74d483..c5f0e977 100644 --- a/changedetectionio/model/App.py +++ b/changedetectionio/model/App.py @@ -42,7 +42,6 @@ class model(dict): 'notification_title': default_notification_title, 'notification_body': default_notification_body, 'notification_format': default_notification_format, - 'real_browser_save_screenshot': True, 'schema_version' : 0, 'webdriver_delay': None # Extra delay in seconds before extracting text } diff --git a/changedetectionio/templates/settings.html b/changedetectionio/templates/settings.html index e482dde8..0518eb9b 100644 --- a/changedetectionio/templates/settings.html +++ b/changedetectionio/templates/settings.html @@ -69,12 +69,6 @@ {{ render_checkbox_field(form.application.form.extract_title_as_title) }} Note: This will automatically apply to all existing watches. - -
- {{ render_checkbox_field(form.application.form.real_browser_save_screenshot) }} - When using a Chrome browser, a screenshot from the last check will be available on the Diff page -
-
{{ render_checkbox_field(form.application.form.empty_pages_are_a_change) }} When a page contains HTML, but no renderable text appears (empty page), is this considered a change?