[enh] infinite scroll

resolves #649
This commit is contained in:
David A Roberts 2016-08-11 12:21:28 +10:00
parent 975bd5beb5
commit 678b9e994a
4 changed files with 44 additions and 0 deletions

View file

@ -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)

View 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',)