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