diff options
| author | Dalf <alex@al-f.net> | 2019-07-23 14:13:38 +0200 |
|---|---|---|
| committer | Dalf <alex@al-f.net> | 2019-08-06 12:14:11 +0200 |
| commit | 6fbba63c83b18a652e571ce5a803773cd72e5b6a (patch) | |
| tree | 48d64f887e762423ba588ce03cdd4453ee30c088 /searx/static/themes/simple/js/searx.head.min.js | |
| parent | 90b24f1060daf97cbf8e18f4a0087cd74ffb7581 (diff) | |
oscar and simple themes: no inline script (allow A+ Content-Security-Policy)
Diffstat (limited to 'searx/static/themes/simple/js/searx.head.min.js')
| -rw-r--r-- | searx/static/themes/simple/js/searx.head.min.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/static/themes/simple/js/searx.head.min.js b/searx/static/themes/simple/js/searx.head.min.js new file mode 100644 index 000000000..00c711c79 --- /dev/null +++ b/searx/static/themes/simple/js/searx.head.min.js @@ -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
\ No newline at end of file |