summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/js/searxng.head.min.js
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-05-07 17:58:53 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-05-07 17:58:53 +0200
commit8175290867f6425226d87377512d2ce20fd72a26 (patch)
tree91c9db421b6215bbfd188aae97b846dd71e9cfe7 /searx/static/themes/simple/js/searxng.head.min.js
parent444b1e70dbcfd258482b5ee258895593a0a2e42c (diff)
[build] /static
Diffstat (limited to 'searx/static/themes/simple/js/searxng.head.min.js')
-rw-r--r--searx/static/themes/simple/js/searxng.head.min.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/searx/static/themes/simple/js/searxng.head.min.js b/searx/static/themes/simple/js/searxng.head.min.js
index 2885a301c..18ddcfd15 100644
--- a/searx/static/themes/simple/js/searxng.head.min.js
+++ b/searx/static/themes/simple/js/searxng.head.min.js
@@ -1,8 +1,2 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searxng={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",hotkeys:a.getAttribute("data-hotkeys")==="true",static_path:a.getAttribute("data-static-path"),translations:JSON.parse(a.getAttribute("data-translations")),theme:{img_load_error:"img/img_load_error.svg"}};var r=e.getElementsByTagName("html")[0];r.classList.remove("no-js");r.classList.add("js")})(window,document);
+(function(t,e){"use strict";var s=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searxng={settings:JSON.parse(atob(s.getAttribute("client_settings")))};var n=e.getElementsByTagName("html")[0];n.classList.remove("no-js");n.classList.add("js")})(window,document);
//# sourceMappingURL=searxng.head.min.js.map \ No newline at end of file