From a5decfb838967734462a6b85ff2dcb87d0a67e4c Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 21 Jan 2024 12:35:52 +0100 Subject: [feat] preferences: button to copy input to restore preferences hash --- searx/templates/simple/preferences/cookies.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/simple/preferences/cookies.html b/searx/templates/simple/preferences/cookies.html index f84251ef6..b13dc6845 100644 --- a/searx/templates/simple/preferences/cookies.html +++ b/searx/templates/simple/preferences/cookies.html @@ -36,10 +36,24 @@ {{- '' -}}
{{- '' -}}
-    {{- url_for('preferences', _external=True) -}}?preferences={{- preferences_url_params|e -}}
-    &save=1{{- '' -}}
+    {{- url_for('preferences', _external=True) -}}?preferences={{- preferences_url_params|e -}}{{- '' -}}
   
{{- '' -}}
{{- '' -}}

{{- _('Specifying custom settings in the preferences URL can be used to sync preferences across devices.') -}}

+

+ {{- _('Copy preferences hash') -}}:{{- '' -}} +

{{- '' -}} +
{{- '' -}} +
{{- '' -}} +
+      {{- preferences_url_params|e }}
+    
{{- '' -}} +
+ +
+

+ {{- _('Insert copied preferences hash (without URL) to restore') -}}:{{- '' -}} +

{{- '' -}} +{{- '' -}} -- cgit v1.2.3