summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-07-10 12:47:25 +0200
committerAdam Tauber <asciimoo@gmail.com>2017-07-10 12:50:13 +0200
commit38d6ba4066a474c1b13e7ccb6f9ea92b43702a4a (patch)
tree8ebde856ad55df96385eacd5ab3d276117d5fa99 /searx/templates
parent36af8f9d676ed28a619c18746e638dc5e2159585 (diff)
downloadsearxng-38d6ba4066a474c1b13e7ccb6f9ea92b43702a4a.tar.gz
searxng-38d6ba4066a474c1b13e7ccb6f9ea92b43702a4a.zip
[enh] generate search url of saved preferences
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/preferences.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index e5477e737..49f67bcd8 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -283,6 +283,9 @@
<br />
{{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
</p>
+ <p style="margin:20px 0;">{{ _('Search URL of the currently saved preferences') }} <small class="text-muted">({{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }})</small>:<br/>
+ <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ url_for('index', _external=True) }}?{{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
+ </p>
<input type="submit" class="btn btn-primary" value="{{ _('save') }}" />
<a href="{{ url_for('index') }}"><div class="btn btn-default">{{ _('back') }}</div></a>