inoreader scroll bug fix

Fixes scrolling issues due to adblock on inoreader.com

作者
GDorn
日安装量
0
总安装量
117
评分
1 0 0
版本
1
创建于
2015-01-26
更新于
2015-01-26
大小
562 字节
许可证
暂无
适用于

Inoreader added ads recently, and even disabling adblock didn't seem to fix this particular navigation bug: http://forum.inoreader.com/index.php?/topic/6615-strange-navigation-post-per-post/

This only fixes navigation by keyboard, specifically the 'n' and 'p' keys by forcefully scrolling to the current item a quarter of a second after the keypress. This is long enough for the scrolling animation to finish in most cases and should only be noticeable when the bug hits.

Navigation-by-clicking is untouched.