diff options
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/doai_rewrite.py | 1 | ||||
-rw-r--r-- | searx/plugins/https_rewrite.py | 1 | ||||
-rw-r--r-- | searx/plugins/infinite_scroll.py | 1 | ||||
-rw-r--r-- | searx/plugins/search_on_category_select.py | 1 | ||||
-rw-r--r-- | searx/plugins/tracker_url_remover.py | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/searx/plugins/doai_rewrite.py b/searx/plugins/doai_rewrite.py index 95efa8f9b..b7b814fac 100644 --- a/searx/plugins/doai_rewrite.py +++ b/searx/plugins/doai_rewrite.py @@ -7,6 +7,7 @@ regex = re.compile(r'10\.\d{4,9}/[^\s]+') name = gettext('DOAI rewrite') description = gettext('Avoid paywalls by redirecting to open-access versions of publications when available') default_on = False +preference_section = 'privacy' def extract_doi(url): diff --git a/searx/plugins/https_rewrite.py b/searx/plugins/https_rewrite.py index 4462c86bc..3d986770e 100644 --- a/searx/plugins/https_rewrite.py +++ b/searx/plugins/https_rewrite.py @@ -31,6 +31,7 @@ if sys.version_info[0] == 3: name = "HTTPS rewrite" description = gettext('Rewrite HTTP links to HTTPS if possible') default_on = True +preference_section = 'privacy' if 'SEARX_HTTPS_REWRITE_PATH' in environ: rules_path = environ['SEARX_rules_path'] diff --git a/searx/plugins/infinite_scroll.py b/searx/plugins/infinite_scroll.py index 422a4befb..e3726671a 100644 --- a/searx/plugins/infinite_scroll.py +++ b/searx/plugins/infinite_scroll.py @@ -3,6 +3,7 @@ from flask_babel import gettext name = gettext('Infinite scroll') description = gettext('Automatically load next page when scrolling to bottom of current page') default_on = False +preference_section = 'ui' js_dependencies = ('plugins/js/infinite_scroll.js',) css_dependencies = ('plugins/css/infinite_scroll.css',) diff --git a/searx/plugins/search_on_category_select.py b/searx/plugins/search_on_category_select.py index f72c63d76..2a38cac78 100644 --- a/searx/plugins/search_on_category_select.py +++ b/searx/plugins/search_on_category_select.py @@ -19,5 +19,6 @@ name = gettext('Search on category select') description = gettext('Perform search immediately if a category selected. ' 'Disable to select multiple categories. (JavaScript required)') default_on = True +preference_section = 'ui' js_dependencies = ('plugins/js/search_on_category_select.js',) diff --git a/searx/plugins/tracker_url_remover.py b/searx/plugins/tracker_url_remover.py index a84012828..630c8a638 100644 --- a/searx/plugins/tracker_url_remover.py +++ b/searx/plugins/tracker_url_remover.py @@ -26,6 +26,7 @@ regexes = {re.compile(r'utm_[^&]+&?'), name = gettext('Tracker URL remover') description = gettext('Remove trackers arguments from the returned URL') default_on = True +preference_section = 'privacy' def on_result(request, search, result): |