diff --git a/searx/static/plugins/css/search_on_category_select.css b/searx/static/plugins/css/search_on_category_select.css new file mode 100644 index 000000000..3a25c66a0 --- /dev/null +++ b/searx/static/plugins/css/search_on_category_select.css @@ -0,0 +1 @@ +.category input { display: none; } diff --git a/searx/static/plugins/js/search_on_category_select.js b/searx/static/plugins/js/search_on_category_select.js index d590ed127..46d5335fd 100644 --- a/searx/static/plugins/js/search_on_category_select.js +++ b/searx/static/plugins/js/search_on_category_select.js @@ -40,3 +40,7 @@ function getHttpRequest() { } return httpRequest; } + +const style = document.createElement('style'); +style.textContent = '.category input { display: none; }' +document.head.append(style);