mirror of
https://github.com/searxng/searxng.git
synced 2024-12-04 16:36:27 +00:00
c23401e9fa
AJAX requests send the X-Requested-With HTTP header, so searx.webapp.autocompleter returns the results with the expected data format. Related to #2127 Close #2203
4 lines
No EOL
775 B
JavaScript
4 lines
No EOL
775 B
JavaScript
/*! simple/searx.min.js | 19-09-2020 | https://github.com/asciimoo/searx */
|
|
|
|
(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searx={touch:"ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||false,method:a.getAttribute("data-method"),autocompleter:a.getAttribute("data-autocompleter")==="true",search_on_category_select:a.getAttribute("data-search-on-category-select")==="true",infinite_scroll:a.getAttribute("data-infinite-scroll")==="true",static_path:a.getAttribute("data-static-path"),no_item_found:a.getAttribute("data-no-item-found")};e.getElementsByTagName("html")[0].className=t.searx.touch?"js touch":"js"})(window,document);
|
|
//# sourceMappingURL=searx.head.min.js.map
|