mirror of
https://github.com/searxng/searxng.git
synced 2025-08-30 23:19:11 +02:00
parent
975bd5beb5
commit
678b9e994a
4 changed files with 44 additions and 0 deletions
|
@ -21,6 +21,7 @@ logger = logger.getChild('plugins')
|
|||
|
||||
from searx.plugins import (doai_rewrite,
|
||||
https_rewrite,
|
||||
infinite_scroll,
|
||||
open_results_on_new_tab,
|
||||
self_info,
|
||||
search_on_category_select,
|
||||
|
@ -76,6 +77,7 @@ class PluginStore():
|
|||
plugins = PluginStore()
|
||||
plugins.register(doai_rewrite)
|
||||
plugins.register(https_rewrite)
|
||||
plugins.register(infinite_scroll)
|
||||
plugins.register(open_results_on_new_tab)
|
||||
plugins.register(self_info)
|
||||
plugins.register(search_on_category_select)
|
||||
|
|
8
searx/plugins/infinite_scroll.py
Normal file
8
searx/plugins/infinite_scroll.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from flask_babel import gettext
|
||||
|
||||
name = gettext('Infinite scroll')
|
||||
description = gettext('Automatically load next page when scrolling to bottom of current page')
|
||||
default_on = False
|
||||
|
||||
js_dependencies = ('plugins/js/infinite_scroll.js',)
|
||||
css_dependencies = ('plugins/css/infinite_scroll.css',)
|
Loading…
Add table
Add a link
Reference in a new issue