キーボードでlike - otsune tumblr まとめサイト 画像保管庫Q
キーボードでlike
playontumblr.user.jsのshow/hide切替が激しく便利だったので、
addShortcutkey({ key: "l", description: "tumblr.like", command: function() { try { execute( "tumblr.like", execute("current-node")); } catch(e) { } }}); addCommand({ name: "tumblr.like", command: function(stdin) { try { if(!stdin.length) stdin = execute("current-node"); var count = $X('.//input[contains(concat(" ",@class," "), " like_button ")]', stdin[0]); for(var n = 0; n < count.length; n++) { if(!count[n].clientWidth) continue; count[n].click(); return stdin; } } catch(e) {} return stdin; }});なんてコードを追加して、「l」キーでlike/unlike切替できるようにしてみた。j→j→j→(ぬこ発見)→l→…でかなり幸せ。
Changeset 32869 – CodeRepos::Share – Tracにてcommitしました。
インストールはplay on tumblr - Wescriptで。
Comments
-
rnyhrt
reblogged this from
hain
-
hain
reblogged this from
syoichi
-
remiko
reblogged this from
syoichi
-
sugizou
reblogged this from
syoichi
-
rumato1002 liked this
-
syoichi
reblogged this from
otsune
-
iwadon liked this
-
staki liked this
-
sakurasakuras
reblogged this from
gkojax
-
rightstaff liked this
-
keizo
reblogged this from
gkojax
-
macotoi
reblogged this from
otsune
-
feelsogood liked this
-
tmrrwnystrdy
reblogged this from
sampler
-
crossbreed
reblogged this from
yaruo
-
kiske liked this
-
nagas
reblogged this from
tsupo
-
tsupo
reblogged this from
gkojax
-
gkojax
reblogged this from
yaruo
-
yaruo
reblogged this from
suyhnc
and added:
playontumblr.user.jsのshow/hide切替が激しく便利だったので、 addShortcutkey({ key: "l", description: "tumblr.like", command: function()...
-
monorainbows
reblogged this from
sampler
-
fujimogn
reblogged this from
ichimonji
-
sampler
reblogged this from
suyhnc
-
suyhnc
reblogged this from
otsune
-
supercub1958 liked this
-
kiri2
reblogged this from
otsune
-
jumitaka
reblogged this from
otsune
-
hyga2c liked this
-
morygonzalez
reblogged this from
otsune
-
otsune
reblogged this from
dara-j
and added:
Changeset 32869 – CodeRepos::Share – Tracにてcommitしました。 インストールはplay on tumblr - Wescriptで。
-
takeoba
reblogged this from
otsune
-
katsuma liked this
-
ichimonji
reblogged this from
otsune
-
hisajun
reblogged this from
otsune
-
reretlet
reblogged this from
otsune
and added:
playontumblr.user.jsのshow/hide切替が激しく便利だったので、 addShortcutkey({ key: "l", description: "tumblr.like", command: function()...
-
otsune
reblogged this from
dara-j
-
carandache
reblogged this from
do-nothing
-
carandache
reblogged this from
do-nothing
-
pcatan
reblogged this from
do-nothing
-
do-nothing
reblogged this from
mifei
-
ishikura
reblogged this from
kanmei
-
starcat
reblogged this from
fifnel
-
kanmei
reblogged this from
mifei
-
fifnel
reblogged this from
mifei
-
mifei
reblogged this from
dara-j
-
dara-j
posted this

