# HG changeset patch # User Ludovic Chabant # Date 1420593261 28800 # Node ID ca28da5162f438957e0dbd478405df59b251bde8 # Parent 7f9afeff086f6a8e6bb212c32f93627f4aeefec3 Hack Feedbin diff -r 7f9afeff086f -r ca28da5162f4 pentadactylrc --- a/pentadactylrc Mon Jan 05 17:06:13 2015 -0800 +++ b/pentadactylrc Tue Jan 06 17:14:21 2015 -0800 @@ -62,4 +62,28 @@ set passkeys+=feedbin.com:hjklesmvVFcf123456789rgAa?,/ set passkeys+=groups.google.com:jkuonp +" Website-specific groups +" Feedbin +group! feedbin -loc feedbin.com +javascript < 0) { + el[0].scrollTop -= el[0].clientHeight/2; + } else { + content.console.error("Can't find the entries list. Got: ", el); + } +} +function feedbinScrollDown() { + el = content.document.getElementsByClassName('entries'); + if (el != undefined && el.length > 0) { + el[0].scrollTop += el[0].clientHeight/2; + } else { + content.console.error("Can't find the entries list. Got: ", el); + } +} +EOF +nmap -builtin -js feedbinScrollUp() +nmap -builtin -js feedbinScrollDown() + " vim: ft=vim