mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
oscar and simple themes: no inline script (allow A+ Content-Security-Policy)
This commit is contained in:
parent
90b24f1060
commit
6fbba63c83
22 changed files with 2763 additions and 71 deletions
4
searx/static/themes/simple/js/searx.head.min.js
vendored
Normal file
4
searx/static/themes/simple/js/searx.head.min.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
/*! simple/searx.min.js | 06-08-2019 | 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
|
Loading…
Add table
Add a link
Reference in a new issue