Add dribbble 'heart shot' binding

This commit is contained in:
Maddison Hellstrom 2018-07-12 02:46:13 -07:00
parent 090ab9a865
commit 9c1a54e410
1 changed files with 8 additions and 0 deletions

View File

@ -223,6 +223,10 @@ function hnGoParent() {
window.location.href = par[0].href
}
function dribbleHeartShot() {
Hints.create(".toggle-fav, .like-shot", Hints.dispatchMouseClick)
}
// ---- Mapkeys ----//
const ri = { repeatIgnore: true }
@ -296,6 +300,10 @@ mapsitekeys("news.ycombinator.com", [
["p", "Go to parent", hnGoParent],
])
mapsitekeys("dribbble.com", [
["s", "Heart Shot", dribbleHeartShot],
])
// ---- Search & completion ----//
// Search leader
const sl = "a"