summaryrefslogtreecommitdiff
path: root/searx/plugins/self_info.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-01 16:21:56 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-17 15:29:07 +0200
commitf83b64270c6c8cff336889b93fdf6b6e3f20ffa2 (patch)
tree2346abe9ab8ea8c441e26d5eb38607cdd679e2f0 /searx/plugins/self_info.py
parent92c68fe636ede2b10a2b4d71c559a22969b38f6f (diff)
downloadsearxng-f83b64270c6c8cff336889b93fdf6b6e3f20ffa2.tar.gz
searxng-f83b64270c6c8cff336889b93fdf6b6e3f20ffa2.zip
[mod] oscar theme /preferences: reorganize the preferences
close #115
Diffstat (limited to 'searx/plugins/self_info.py')
-rw-r--r--searx/plugins/self_info.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/plugins/self_info.py b/searx/plugins/self_info.py
index 4fdfb4288..053899483 100644
--- a/searx/plugins/self_info.py
+++ b/searx/plugins/self_info.py
@@ -19,7 +19,9 @@ import re
name = gettext('Self Informations')
description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".')
default_on = True
-
+preference_section = 'query'
+query_keywords = ['user-agent']
+query_examples = ''
# Self User Agent regex
p = re.compile('.*user[ -]agent.*', re.IGNORECASE)