SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
Fix result selection for top & bottom scrolling
Kirill Isakovc12e41a80f7b
diff --git a/searx/static/plugins/js/vim_hotkeys.js b/searx/static/plugins/js/vim_hotkeys.jsindex f7f5989c2..61500d8f5 100644--- a/searx/static/plugins/js/vim_hotkeys.js+++ b/searx/static/plugins/js/vim_hotkeys.js@@ -44,13 +44,13 @@ $(document).ready(function() {},71: {key: 'g',- fun: scrollPageTo(-document.body.scrollHeight),+ fun: scrollPageTo(-document.body.scrollHeight, 'top'),des: 'scroll to the top of the page',cat: 'Navigation'},86: {key: 'v',- fun: scrollPageTo(document.body.scrollHeight),+ fun: scrollPageTo(document.body.scrollHeight, 'bottom'),des: 'scroll to the bottom of the page',cat: 'Navigation'},@@ -241,10 +241,10 @@ $(document).ready(function() {}}- function scrollPageTo(position) {+ function scrollPageTo(position, nav) {return function() {window.scrollTo(0, position);- highlightResult('visible')();+ highlightResult(nav)();}}