2023-04-23 11:19:21 +00:00
|
|
|
<div id="search_url" role="complementary" aria-labelledby="search_url-title">
|
2024-10-09 09:59:31 +00:00
|
|
|
<details class="sidebar-collapsible">
|
2023-04-23 11:19:21 +00:00
|
|
|
<summary class="title" id="search_url-title">{{ _('Search URL') }}</summary>
|
2023-09-27 14:19:35 +00:00
|
|
|
<button id="copy_url" type="submit" data-copied-text="{{ _('Copied') }}">{{ _('Copy') }}</button>
|
2023-04-23 11:19:21 +00:00
|
|
|
<div class="selectable_url">
|
|
|
|
<pre>{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&language={{ current_language }}&time_range={{ time_range }}&safesearch={{ safesearch }}
|
|
|
|
{%- if pageno > 1 -%}
|
|
|
|
&pageno={{ pageno }}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- if selected_categories -%}
|
|
|
|
&categories={{ selected_categories|join(",") | replace(' ','+') }}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- if timeout_limit -%}
|
|
|
|
&timeout_limit={{ timeout_limit|urlencode }}
|
|
|
|
{%- endif -%}
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</details>
|
|
|
|
</div>
|