WIP: use the package botdetection

This commit is contained in:
Alexandre Flament 2024-05-05 17:44:30 +00:00
parent ac430a9eaf
commit e826a71c2b
17 changed files with 98 additions and 1261 deletions

View file

@ -17,9 +17,9 @@
{% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" />
{% endif %}
{% if get_setting('server.limiter') or get_setting('server.public_instance') %}
<link rel="stylesheet" href="{{ url_for('client_token', token=link_token) }}" type="text/css" />
{% endif %}
{%- if botdetection_html_header is defined -%}
{{- botdetection_html_header() | safe -}}
{%- endif %}
{% block styles %}{% endblock %}
<!--[if gte IE 9]>-->
<script src="{{ url_for('static', filename='js/searxng.head.min.js') }}" client_settings="{{ client_settings }}"></script>