Add dribbble 'heart shot' binding
This commit is contained in:
parent
090ab9a865
commit
9c1a54e410
8
conf.js
8
conf.js
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue